All checks were successful
continuous-integration/drone/push Build is passing
15 lines
241 B
Docker
15 lines
241 B
Docker
FROM docker.io/golang:alpine AS builder
|
|
|
|
WORKDIR /go/src/sidoxy
|
|
|
|
COPY . .
|
|
|
|
RUN go get && \
|
|
mkdir build && \
|
|
go build -o build/sidoxy
|
|
|
|
FROM docker.io/alpine:latest
|
|
|
|
COPY --from=builder /go/src/sidoxy/build/sidoxy ./
|
|
|
|
CMD ["./sidoxy"]
|