Skip to content
Snippets Groups Projects
Verified Commit 07d342d0 authored by Stefan Hynek's avatar Stefan Hynek :drooling_face:
Browse files

fix(build): fix k8s compatibility issue and update dependencies

use a "numeric" user in Dockerfile

close #44
parent b4aa565d
No related branches found
No related tags found
1 merge request!29Resolve "fix k8s compatibility and update dependencies"
Pipeline #360133 passed
......@@ -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 \
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment