Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cloud-native): resolve missing pkg_resources module #8521

Merged
merged 1 commit into from
May 16, 2024
Merged
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
1 change: 1 addition & 0 deletions docker-jans-all-in-one/.hadolint.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ignored:
- DL3006
- DL3013
- DL3018
5 changes: 2 additions & 3 deletions docker-jans-all-in-one/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,15 @@ FROM bellsoft/liberica-openjdk-alpine:17.0.11@sha256:b544e908068565e9f2932f8ac85
# hadolint ignore=DL3018
RUN apk update \
&& apk upgrade --available \
&& apk add --no-cache tini bash curl openssl python3 py3-cryptography py3-psycopg2 py3-grpcio nginx \
&& apk add --no-cache tini bash curl openssl python3 py3-cryptography py3-psycopg2 py3-grpcio nginx py3-packaging py3-setuptools \
&& apk add --no-cache --virtual .build-deps git wget

# ------
# Python
# ------

COPY /app/requirements.txt /app/requirements.txt
RUN apk add --no-cache py3-packaging \
&& apk add --no-cache --virtual .pip-deps py3-pip py3-wheel \
RUN apk add --no-cache --virtual .pip-deps py3-pip py3-wheel \
&& mkdir -p "$HOME/.config/pip" \
&& printf "[global]\nbreak-system-packages = true" > "$HOME/.config/pip/pip.conf" \
&& pip3 install --no-cache-dir -r /app/requirements.txt \
Expand Down