From 617f4b0ad128581ec0b4daee036d2d1d23ce7fa4 Mon Sep 17 00:00:00 2001 From: Jack Danger Date: Wed, 27 Sep 2017 14:07:18 -0700 Subject: [PATCH] dockerfile with cryptography package --- Dockerfile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3c18fb106..24d7c34ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,18 @@ FROM alpine:3.6 +RUN apk add --no-cache --update \ + gcc \ + musl-dev \ + python3-dev \ + libffi-dev \ + openssl-dev \ + python3 + ADD . /moto/ ENV PYTHONUNBUFFERED 1 WORKDIR /moto/ -RUN apk add --no-cache python3 && \ - python3 -m ensurepip && \ +RUN python3 -m ensurepip && \ rm -r /usr/lib/python*/ensurepip && \ pip3 --no-cache-dir install --upgrade pip setuptools && \ pip3 --no-cache-dir install ".[server]"