Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Willena/super-go-proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
Willena committed Jun 30, 2021
2 parents d46469d + d4838c4 commit 09d8a47
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM golang:1.16-alpine as build
WORKDIR /build/
ADD . .
RUN go mod download
RUN go build -o /tmp/super-go-mod-proxy github.com/willena/super-go-mod-proxy/cmd


FROM alpine
WORKDIR /app/
COPY --from=build /tmp/super-go-mod-proxy .
RUN chmod +x ./super-go-mod-proxy

ENTRYPOINT ["/app/super-go-mod-proxy"]

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Super go mod proxy

![https://img.shields.io/docker/v/gillena/super-go-mod-proxy?color=blue&label=Docker%20Hub](https://img.shields.io/docker/v/gillena/super-go-mod-proxy?color=blue&label=Docker%20Hub)

Yet another go modules proxy

# About
Expand Down Expand Up @@ -70,4 +72,4 @@ This might be usefull in private environnement where the domain used is not wher
hosted. For example, module name would be something like `myCompany.com/myGroup/module` and the repository is located at
`http://git.private.local/myGroup/module`. This is then transparent for the go client.



0 comments on commit 09d8a47

Please sign in to comment.