init
This commit is contained in:
commit
30742983e6
|
@ -0,0 +1,2 @@
|
||||||
|
.idea/
|
||||||
|
reactorrrrrrrr
|
|
@ -0,0 +1,12 @@
|
||||||
|
FROM golang:alpine AS build-env
|
||||||
|
WORKDIR ${GOPATH}/src/kolaente.dev/konrad/reactorrrrrrrr
|
||||||
|
COPY . .
|
||||||
|
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /go/bin/reactorrrrrrrr
|
||||||
|
|
||||||
|
# The actual image
|
||||||
|
FROM scratch
|
||||||
|
|
||||||
|
COPY --from=build-env /go/bin/reactorrrrrrrr /reactorrrrrrrr
|
||||||
|
COPY --from=alpine:latest /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
||||||
|
|
||||||
|
ENTRYPOINT ["/reactorrrrrrrr"]
|
Loading…
Reference in New Issue