We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7d91884 + fce74eb commit bc9a1dbCopy full SHA for bc9a1db
chronograf/1.10/alpine/Dockerfile
@@ -1,10 +1,10 @@
1
-FROM alpine:3.20
+FROM alpine:3.22
2
3
RUN echo 'hosts: files dns' >> /etc/nsswitch.conf
4
-RUN apk add --no-cache ca-certificates su-exec && \
+RUN apk add --no-cache ca-certificates setpriv && \
5
update-ca-certificates
6
7
-ENV CHRONOGRAF_VERSION 1.10.7
+ENV CHRONOGRAF_VERSION=1.10.7
8
9
RUN set -ex && \
10
mkdir ~/.gnupg; \
chronograf/1.10/alpine/entrypoint.sh
@@ -12,5 +12,5 @@ fi
12
if [ "$(id -u)" -ne 0 ] || [ "${CHRONOGRAF_AS_ROOT}" = "true" ]; then
13
exec "$@"
14
else
15
- exec su-exec chronograf "$@"
+ exec setpriv --reuid chronograf --regid chronograf --init-groups "$@"
16
fi
0 commit comments