We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
docker-api-proxy
1 parent 08ce0fe commit e838468Copy full SHA for e838468
services/docker-api-proxy/Dockerfile
@@ -16,11 +16,10 @@ RUN addgroup -g ${SC_USER_ID} ${SC_USER_NAME} && \
16
--home /home/${SC_USER_NAME} \
17
${SC_USER_NAME}
18
19
-RUN apk add --no-cache socat curl && \
20
- curl -L -o /usr/local/bin/gosu https://github.com/tianon/gosu/releases/download/1.16/gosu-amd64 && \
21
- chmod +x /usr/local/bin/gosu && \
22
- gosu --version
23
-
+RUN apk add --no-cache \
+ curl \
+ socat \
+ su-exec
24
25
# Health check to ensure the proxy is running
26
HEALTHCHECK \
services/docker-api-proxy/docker/entrypoint.sh
@@ -31,4 +31,4 @@ fi
31
# Add the user to the group
32
adduser "$SC_USER_NAME" $GROUPNAME
33
34
-exec gosu "$SC_USER_NAME" "$@"
+exec su-exec "$SC_USER_NAME" "$@"
0 commit comments