diff --git a/Dockerfile b/Dockerfile index 64919de2f64a9a6df230213c7cf23b876f0aaf94..7d7069062a89225ef1dde22bc60eb14b9e85383a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,10 +29,11 @@ COPY --from=builder /usr/local/lib/python3.8/site-packages/PyICU-2.8.1.dist-info # icu-dev package is nevertheless needed by the python library # hadolint ignore=DL3018 -RUN adduser -D repdav \ +RUN adduser -D repdav -u 1000 \ && apk add --no-cache icu-dev -USER repdav +# use a "numeric" user for k8s compatibility +USER 1000 COPY --chown=repdav requirements.txt / RUN pip install \ diff --git a/requirements.txt b/requirements.txt index 9209a4456638de8836b3d11f726e483e28444d3a..0f5e915747cdff750fb8fa5f915db985b8cc0518 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: CC0-1.0 -tgclients[icu]==0.8.0 +tgclients[icu]==0.9.0 cheroot==9.0.0 -sentry-sdk==1.11.1 -WsgiDAV==4.1.0 +sentry-sdk==1.19.1 +WsgiDAV==4.2.0