File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,15 @@ FROM python:3.8-slim-buster as build
33# As of 2019-11-29, python:3.8-slim-stretch doesn't exist. See https://github.com/docker-library/python/issues/428
44WORKDIR /app
55COPY requirements.txt .
6- RUN sed -i 's/@SECLEVEL=2/@SECLEVEL=1/' /etc/ssl/openssl.cnf && \
6+ RUN set -x && \
7+ sed -i 's/@SECLEVEL=2/@SECLEVEL=1/' /etc/ssl/openssl.cnf && \
78 pip install --no-cache-dir -U pip wheel && \
89 pip install --no-cache-dir -r ./requirements.txt
910# Note: Regarding SECLEVEL, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=927461
1011# Lowering the SECLEVEL causes more https certificates to be valid.
1112COPY ircurltitlebot ircurltitlebot
12- RUN groupadd -g 999 app && \
13+ RUN set -x && \
14+ groupadd -g 999 app && \
1315 useradd -r -m -u 999 -g app app
1416USER app
1517ENTRYPOINT ["python" , "-m" , "ircurltitlebot" ]
@@ -20,7 +22,8 @@ FROM build as test
2022WORKDIR /app
2123USER root
2224COPY Makefile pylintrc pyproject.toml requirements-dev.in setup.cfg vulture.txt ./
23- RUN pip install --no-cache-dir -U -r requirements-dev.in && \
25+ RUN set -x && \
26+ pip install --no-cache-dir -U -r requirements-dev.in && \
2427 apt-get update && apt-get -y install make && \
2528 make test
2629
You can’t perform that action at this time.
0 commit comments