-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Sora Morimoto <[email protected]>
- Loading branch information
1 parent
bdbe108
commit edef102
Showing
1 changed file
with
3 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,9 @@ | ||
# Production image based on alpine. | ||
FROM alpine | ||
# Production image based on distroless. | ||
FROM gcr.io/distroless/static-debian11:nonroot | ||
LABEL maintainer="Axiom, Inc. <[email protected]>" | ||
|
||
# Upgrade packages and install ca-certificates. | ||
RUN apk update --no-cache && \ | ||
apk upgrade --no-cache && \ | ||
apk add --no-cache ca-certificates | ||
|
||
# Copy binary into image. | ||
COPY axiom-syslog-proxy /usr/bin/axiom-syslog-proxy | ||
COPY --chown=nonroot:nonroot axiom-syslog-proxy /usr/bin/axiom-syslog-proxy | ||
|
||
# Use the project name as working directory. | ||
WORKDIR /axiom-syslog-proxy | ||
|