Skip to content

Commit

Permalink
Add bcrypt password engine
Browse files Browse the repository at this point in the history
  • Loading branch information
jiri-pinkava committed Feb 23, 2019
1 parent 876a182 commit 24f0fdf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@ RUN apk update && \
pip install --upgrade pip && \
mkdir -p /srv/pypi

# Install packages wich have build dependencies, remove them after installation
# because they are not required during runtime.
RUN apk add --no-cache --virtual .build-deps \
gcc \
libc-dev \
libffi-dev \
python-dev && \
pip install bcrypt && \
apk del --no-cache .build-deps && \
rm /var/cache/apk/*

RUN pip install -U passlib pypiserver[cache]==1.2.1

EXPOSE 80
Expand Down

0 comments on commit 24f0fdf

Please sign in to comment.