Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ RUN << EOT
# pip's isolated build environment and cargo keep their own caches, which
# apk del does not cover.
rm -rf /root/.cache /root/.cargo

# ssl_client only serves BusyBox wget over HTTPS, needed above for the
# OpenSSL source. It is installed automatically next to busybox and libssl3,
# so 'apk del' keeps it: the world constraint removes it and keeps it out
# of the images built from this one.
apk add --no-cache '!ssl_client'
EOT

COPY openssl.cnf /etc/ssl/openssl.cnf
Expand Down
1 change: 1 addition & 0 deletions legacy/Dockerfile_python
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
ARG OPENSSL_VERSION=3.6.4
ARG PYTHON_VERSION=3.12.14

ENV PATH /usr/local/bin:$PATH

Check warning on line 6 in legacy/Dockerfile_python

View workflow job for this annotation

GitHub Actions / Build filigran/python-fips

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
ENV LANG C.UTF-8

Check warning on line 7 in legacy/Dockerfile_python

View workflow job for this annotation

GitHub Actions / Build filigran/python-fips

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

# Install OpenSSL FIPS
RUN set -ex \
Expand Down Expand Up @@ -46,6 +46,7 @@
&& make install \
&& cd .. \
&& apk del .build-deps \
&& apk add --no-cache '!ssl_client' \
&& ln -sf /usr/local/bin/idle3 /usr/local/bin/idle \
&& ln -sf /usr/local/bin/pydoc3 /usr/local/bin/pydoc \
&& ln -sf /usr/local/bin/python3 /usr/local/bin/python \
Expand Down
1 change: 1 addition & 0 deletions legacy/Dockerfile_python_nodejs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
ARG OPENSSL_VERSION=3.6.4
ARG PYTHON_VERSION=3.12.14

ENV PATH /usr/local/bin:$PATH

Check warning on line 6 in legacy/Dockerfile_python_nodejs

View workflow job for this annotation

GitHub Actions / Build filigran/python-nodejs-fips

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
ENV LANG C.UTF-8

Check warning on line 7 in legacy/Dockerfile_python_nodejs

View workflow job for this annotation

GitHub Actions / Build filigran/python-nodejs-fips

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

# Install OpenSSL FIPS
RUN set -ex \
Expand Down Expand Up @@ -46,6 +46,7 @@
&& make install \
&& cd .. \
&& apk del .build-deps \
&& apk add --no-cache '!ssl_client' \
&& ln -sf /usr/local/bin/idle3 /usr/local/bin/idle \
&& ln -sf /usr/local/bin/pydoc3 /usr/local/bin/pydoc \
&& ln -sf /usr/local/bin/python3 /usr/local/bin/python \
Expand Down