Skip to content

Commit 5509940

Browse files
committed
chore: docs and clean
1 parent a102247 commit 5509940

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,11 @@ COPY main.go ./
3737
RUN CGO_ENABLED=0 GOOS=linux GOARCH=$TARGETARCH go build -mod vendor -ldflags '-w -extldflags "-static"' -o dist-bin/dockerfile-x-frontend .
3838

3939
FROM scratch
40+
41+
# see https://github.com/moby/buildkit/blob/master/frontend/dockerfile/cmd/dockerfile-frontend/Dockerfile
4042
LABEL moby.buildkit.frontend.network.none="true"
4143
LABEL moby.buildkit.frontend.caps="moby.buildkit.frontend.inputs,moby.buildkit.frontend.subrequests,moby.buildkit.frontend.contexts"
44+
4245
ENTRYPOINT [ "/dockerfile-x-frontend" ]
4346
ENV PATH=/
4447
ENV DOCKERFILEX_TMPDIR=/workspace
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# syntax = devthefuture/dockerfile-x:dev
1+
# syntax = devthefuture/dockerfile-x
22
FROM busybox
33
COPY --from=dockerfile-x /dockerfile-x-frontend /dockerfile-x-frontend

0 commit comments

Comments
 (0)