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.
1 parent 19b865b commit fd7fa2fCopy full SHA for fd7fa2f
1 file changed
Dockerfile
@@ -16,5 +16,9 @@ RUN mkdir -p /opt/cloudsmith \
16
&& curl -1sLf -o /opt/cloudsmith/cloudsmith "https://dl.cloudsmith.io/public/${CLOUDSMITH_NAMESPACE}/${CLOUDSMITH_REPO}/raw/names/cloudsmith-cli/versions/${CLOUDSMITH_CLI_VERSION}/cloudsmith.pyz" \
17
&& chmod +x /opt/cloudsmith/cloudsmith
18
19
+# Run as a non-root user
20
+RUN adduser -D -u 1000 cloudsmith
21
+USER cloudsmith
22
+
23
# Default command
24
ENTRYPOINT [ "cloudsmith" ]
0 commit comments