This commit is contained in:
parent
c02e4a48da
commit
a35f0cd39a
@ -1,11 +1,15 @@
|
|||||||
FROM golang:1.15 as builder
|
FROM golang:1.15 as builder
|
||||||
|
|
||||||
RUN mkdir /build
|
RUN mkdir /build
|
||||||
ADD . /build/
|
ADD . /build/
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
RUN find /
|
|
||||||
RUN make build
|
RUN make build
|
||||||
|
|
||||||
|
# temp
|
||||||
|
RUN find /
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
|
|
||||||
COPY --from=builder /build/sco /app/main
|
COPY --from=builder /build/sco /app/main
|
||||||
COPY --from=builder /build /archive/build
|
COPY --from=builder /build /archive/build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
Loading…
Reference in New Issue
Block a user