ARG FROM_TAG=release-alpine
FROM ponylang/ponyc:${FROM_TAG}

RUN apk update \
  && apk upgrade \
  && apk add --update --no-cache \
  bash \
  git-fast-import \
  libffi \
  libffi-dev \
  libressl \
  libressl-dev \
  python3 \
  python3-dev \
  py3-pip \
  && pip3 install --upgrade pip \
  && pip3 install mkdocs \
  && pip3 install mkdocs-ponylang

ARG FROM_TAG=release-alpine
FROM ponylang/ponyc:${FROM_TAG}

RUN apk update \
  && apk upgrade \
  && apk add --update --no-cache \
  bash \
  git-fast-import \
  libffi \
  libffi-dev \
  libressl \
  libressl-dev \
  python3 \
  python3-dev \
  py3-pip \
  && pip3 install --upgrade pip \
  && pip3 install mkdocs==1.3.1\
  && pip3 install mkdocs-ponylang

Fix broken standard library documentation building
Fix broken standard library documentation building

Mkdocs 1.4.0 was released and our theme doesn't work with it. The
builder has been updated to be pinned to the last version our theme
works with: 1.3.1.
