Skip to content

Commit

Permalink
Merge pull request #31 from gaby/docker-updates
Browse files Browse the repository at this point in the history
Dockerfile updates
  • Loading branch information
ehsandeep authored Mar 29, 2021
2 parents 131677a + cf90a42 commit 98cd9c5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
# Base
FROM golang:1.14-alpine AS builder

RUN apk add --no-cache git
RUN GO111MODULE=auto go get -u -v github.com/projectdiscovery/proxify/cmd/proxify

# Release
FROM alpine:latest

RUN apk -U upgrade --no-cache \
&& apk add --no-cache bind-tools ca-certificates
COPY --from=builder /go/bin/proxify /usr/local/bin/

ENTRYPOINT ["proxify"]

0 comments on commit 98cd9c5

Please sign in to comment.