Skip to content

Commit

Permalink
Merge pull request bcgov#27 from WadeBarnes/fix/cffi-build-error
Browse files Browse the repository at this point in the history
Updated fix for cffi build error.
  • Loading branch information
WadeBarnes authored Jan 14, 2022
2 parents 9f400aa + a21ae05 commit 15dff35
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 21 deletions.
11 changes: 1 addition & 10 deletions docker/Dockerfile.tails-server
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
FROM bcgovimages/von-image:next-1

ARG user=indy
USER root
RUN apt-get update -y && \
apt-get install -y --no-install-recommends \
build-essential \
libffi-dev \
python3-dev && \
rm -rf /var/lib/apt/lists/*
USER $user

ADD requirements.txt .
ADD requirements.dev.txt .

RUN pip3 install --upgrade pip
RUN pip3 install --no-cache-dir -r requirements.txt -r requirements.dev.txt

ADD tails_server ./tails_server
Expand Down
11 changes: 1 addition & 10 deletions docker/Dockerfile.test
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
FROM bcgovimages/von-image:next-1

ARG user=indy
USER root
RUN apt-get update -y && \
apt-get install -y --no-install-recommends \
build-essential \
libffi-dev \
python3-dev && \
rm -rf /var/lib/apt/lists/*
USER $user

ADD requirements.txt .
ADD requirements.dev.txt .

RUN pip3 install --upgrade pip
RUN pip3 install --no-cache-dir -r requirements.txt -r requirements.dev.txt

ADD test ./
Expand Down
1 change: 0 additions & 1 deletion requirements.dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
rich
cffi==1.14.6
pynacl
aiofiles

0 comments on commit 15dff35

Please sign in to comment.