You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
sco/Dockerfile

15 lines
211 B

FROM golang:1.15 as builder
RUN mkdir /build
ADD . /build/
WORKDIR /build
RUN make build
FROM scratch
COPY --from=builder /build/sco /app/main
COPY --from=builder /go /goarchive
WORKDIR /app
CMD ["./main"]