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.

16 lines
211B

  1. FROM golang:1.15 as builder
  2. RUN mkdir /build
  3. ADD . /build/
  4. WORKDIR /build
  5. RUN make build
  6. FROM scratch
  7. COPY --from=builder /build/sco /app/main
  8. COPY --from=builder /go /goarchive
  9. WORKDIR /app
  10. CMD ["./main"]