put source code into docker image for posterity
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a72e5bc0c4
commit
b070be7308
@ -2,9 +2,10 @@ FROM golang:1.15 as builder
|
||||
RUN mkdir /build
|
||||
ADD . /build/
|
||||
WORKDIR /build
|
||||
RUN make build
|
||||
RUN make build && find .
|
||||
|
||||
FROM scratch
|
||||
COPY --from=builder /build/sco /app/main
|
||||
COPY --from=builder /build /archive/build
|
||||
WORKDIR /app
|
||||
CMD ["./main"]
|
||||
|
Loading…
Reference in New Issue
Block a user