Skip to content

Commit

Permalink
change dep order; fix armv7
Browse files Browse the repository at this point in the history
  • Loading branch information
pannal committed Dec 5, 2021
1 parent 9b5a933 commit 864e924
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ WORKDIR /app
# Add Kitana files not filtered by .dockerignore to the image
COPY . .

# still meh. do we want to drop armv7?
ARG CRYPTOGRAPHY_DONT_BUILD_RUST=1

# We chain the following steps to create a single layer, reducing image size
# - Install packages needed to run and compile
# - Install and compile required Python packgages
Expand All @@ -16,7 +19,7 @@ RUN apk add -U --repository=http://dl-cdn.alpinelinux.org/alpine/v3.13/main \
libstdc++ \
&& pip install --trusted-host pypi.python.org -r requirements.txt \
&& apk del -r --purge \
gcc g++ musl-dev openssl-dev libffi-dev python3-dev cargo build-base \
gcc g++ musl-dev openssl-dev libffi-dev cargo build-base \
&& rm /var/cache/apk/*

# Expose the port
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
cryptography<3.5
cherrypy==18.6.1
requests==2.26.0
xmltodict==0.12.0
Expand All @@ -7,5 +8,4 @@ PyGithub==1.55
furl==2.1.3
ndg-httpsclient==0.5.1
certifi==2021.10.8
cffi==1.15.0
cryptography<3.5
cffi==1.15.0

0 comments on commit 864e924

Please sign in to comment.