Skip to content

Commit

Permalink
#1043 Revision for openssl (#1650)
Browse files Browse the repository at this point in the history
Install, and later remove, openssl on the Docker image to be able to run the VA CA installation script.
  • Loading branch information
kalbfled authored Feb 14, 2024
1 parent 1e7bc58 commit 4703aad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN apk add --no-cache ca-certificates \
&& update-ca-certificates \
&& apk del --no-cache ca-certificates

RUN apk add --no-cache bash build-base git postgresql-dev g++ make libffi-dev libmagic libcurl python3-dev openssl-dev curl-dev wget
RUN apk add --no-cache bash build-base git postgresql-dev g++ make libffi-dev libmagic libcurl python3-dev openssl-dev curl-dev wget openssl

RUN adduser -h /app -D vanotify

Expand All @@ -42,7 +42,7 @@ COPY --chown=vanotify . .

# Transfer VA certificates to the image. These certificates are grabbed from a public VA HTTP server.
RUN bash scripts/import-va-certs.sh \
&& apk del --no-cache wget
&& apk del --no-cache wget openssl

# Generate the version file, app/version.py. This overwrites the default file needed for local development.
# The safe.directory modification eliminates the error, "fatal: detected dubious ownership in repository at '/app'".
Expand Down

0 comments on commit 4703aad

Please sign in to comment.