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 bdbe108 commit edef102Copy full SHA for edef102
Dockerfile
@@ -1,14 +1,9 @@
1
-# Production image based on alpine.
2
-FROM alpine
+# Production image based on distroless.
+FROM gcr.io/distroless/static-debian11:nonroot
3
LABEL maintainer="Axiom, Inc. <[email protected]>"
4
5
-# Upgrade packages and install ca-certificates.
6
-RUN apk update --no-cache && \
7
- apk upgrade --no-cache && \
8
- apk add --no-cache ca-certificates
9
-
10
# Copy binary into image.
11
-COPY axiom-syslog-proxy /usr/bin/axiom-syslog-proxy
+COPY --chown=nonroot:nonroot axiom-syslog-proxy /usr/bin/axiom-syslog-proxy
12
13
# Use the project name as working directory.
14
WORKDIR /axiom-syslog-proxy
0 commit comments