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 wheel \
  && 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 wheel \
  && pip3 install mkdocs \
  && pip3 install cryptography==3.3 \
  && pip3 install mkdocs-ponylang

Install cryptography package in stdlib builder
Install cryptography package in stdlib builder

The python cryptography package gets installed as a transitive
dependency for ponylang mkdocs-theme. 3.4 will not install. 3.3 will.

This pins us to 3.3 to prevent breakage.
