diff --git a/tests/docker/multi_stage_simple/Dockerfile b/tests/docker/multi_stage_simple/Dockerfile new file mode 100644 index 00000000..10d224cb --- /dev/null +++ b/tests/docker/multi_stage_simple/Dockerfile @@ -0,0 +1,10 @@ + +FROM golang:1.16 AS build + +COPY hello.go /go/src/project/hello.go +WORKDIR /go/src/project +RUN go build hello.go + +FROM scratch +COPY --from=build /go/src/project/hello /bin/hello +ENTRYPOINT ["/bin/hello"]