diff options
| author | Fuwn <[email protected]> | 2026-02-28 05:03:14 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-02-28 05:03:14 -0800 |
| commit | e4196fd73aab0898daa5b66b9d8113f7fd1e89bd (patch) | |
| tree | 5176473e22728f13cde12fb81ade8a7cf4e0d83e /Dockerfile | |
| parent | docs: refine user-facing wording for clarity and consistency (diff) | |
| download | plutia-test-e4196fd73aab0898daa5b66b9d8113f7fd1e89bd.tar.xz plutia-test-e4196fd73aab0898daa5b66b9d8113f7fd1e89bd.zip | |
chore(docker): use alpine runtime and shell healthcheck
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |