Skip to content

Commit

Permalink
Merge branch 'develop' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
alcounit committed Nov 10, 2020
2 parents 216fff9 + 4b1f1bf commit cd39f86
Show file tree
Hide file tree
Showing 16 changed files with 3,388 additions and 1 deletion.
23 changes: 23 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM golang:alpine AS builder

RUN apk add --quiet --no-cache build-base git

WORKDIR /src

ENV GO111MODULE=on

ADD go.* ./

RUN go mod download

ADD . .

RUN cd cmd/selenosis && \
go install -ldflags="-linkmode external -extldflags '-static' -s -w"


FROM scratch

COPY --from=builder /go/bin/selenosis /

ENTRYPOINT ["/selenosis"]
Loading

0 comments on commit cd39f86

Please sign in to comment.