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.
2 parents d357b6f + 11d2ad8 commit 12a4c74Copy full SHA for 12a4c74
Dockerfile
@@ -5,8 +5,11 @@ COPY . /app
5
WORKDIR /app
6
RUN go build -o hatchery -ldflags "-X github.com/m-mizutani/hatchery/pkg/domain/model.AppVersion=${BUILD_VERSION}" .
7
8
-FROM gcr.io/distroless/base:nonroot
9
-USER nonroot
+RUN curl -L -o /pkl https://github.com/apple/pkl/releases/download/0.25.2/pkl-linux-amd64
+RUN chmod +x /pkl
10
+
11
+FROM --platform=linux/x86_64 ubuntu:20.04
12
COPY --from=build-go /app/hatchery /hatchery
13
+COPY --from=build-go /pkl /usr/local/bin/pkl
14
15
ENTRYPOINT ["/hatchery"]
0 commit comments