fix: add nosumdb
This commit is contained in:
parent
3cd63129a6
commit
513e50f7f5
@ -8,6 +8,7 @@ RUN go build -o gomodproxy cmd/gomodproxy/main.go && \
|
||||
chmod a+x gomodproxy
|
||||
|
||||
FROM golang:1.17.7-alpine3.15
|
||||
ENV GONOSUMDB=gitlab.connectone.pro/*
|
||||
WORKDIR /opt/app
|
||||
RUN apk add --no-cache tzdata ca-certificates git openssh
|
||||
COPY --from=build /build/gomodproxy ./
|
||||
|
@ -14,7 +14,7 @@ services:
|
||||
propagation: shared
|
||||
- type: bind
|
||||
source: ./keys
|
||||
target: /keys
|
||||
target: /root/.ssh
|
||||
bind:
|
||||
propagation: shared
|
||||
command:
|
||||
@ -24,6 +24,6 @@ services:
|
||||
- --addr
|
||||
- :8080
|
||||
- -git
|
||||
- gitlab.connectone.pro/:/keys/gitlab.connectone.pro
|
||||
- gitlab.connectone.pro/:/root/.ssh/id_rsa
|
||||
- -git
|
||||
- gitlab.connectone.pro/:goproxy:glpat-_4p1YmfjcMsxdfXnayLm
|
Loading…
x
Reference in New Issue
Block a user