aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-02-28 05:03:14 -0800
committerFuwn <[email protected]>2026-02-28 05:03:14 -0800
commite4196fd73aab0898daa5b66b9d8113f7fd1e89bd (patch)
tree5176473e22728f13cde12fb81ade8a7cf4e0d83e /Dockerfile
parentdocs: refine user-facing wording for clarity and consistency (diff)
downloadplutia-test-e4196fd73aab0898daa5b66b9d8113f7fd1e89bd.tar.xz
plutia-test-e4196fd73aab0898daa5b66b9d8113f7fd1e89bd.zip
chore(docker): use alpine runtime and shell healthcheck
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 0bee4c1..8431c5d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -16,11 +16,11 @@ COPY . .
RUN go build -trimpath -ldflags="-s -w -X main.version=${VERSION} -X main.commit=${COMMIT} -X main.buildDate=${BUILD_DATE}" -o plutia ./cmd/plutia
-FROM gcr.io/distroless/base-debian12
+FROM alpine:3.20
WORKDIR /app
-USER 1000:1000
+RUN apk add --no-cache ca-certificates tzdata
COPY --from=builder /app/plutia /app/plutia