We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0dff83c commit 708197eCopy full SHA for 708197e
1 file changed
lambdas/mock_pds/Dockerfile
@@ -6,7 +6,10 @@ ENV PIP_ONLY_BINARY=:all: \
6
RUN mkdir -p /home/appuser && \
7
echo 'appuser:x:1001:1001::/home/appuser:/sbin/nologin' >> /etc/passwd && \
8
echo 'appuser:x:1001:' >> /etc/group && \
9
- chown -R 1001:1001 /home/appuser && pip install --only-binary :all: "poetry==2.1.4"
+ chown -R 1001:1001 /home/appuser && \
10
+ printf 'poetry==2.1.4 --hash=sha256:0019b64d33fed9184a332f7fad60ca47aace4d6a0e9c635cdea21b76e96f32ce\n' > /tmp/poetry-requirements.txt && \
11
+ pip install --only-binary :all: --require-hashes -r /tmp/poetry-requirements.txt && \
12
+ rm -f /tmp/poetry-requirements.txt
13
14
COPY ./mock_pds/poetry.lock ./mock_pds/pyproject.toml ./
15
0 commit comments