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
|
chmod a+x gomodproxy
|
||||||
|
|
||||||
FROM golang:1.17.7-alpine3.15
|
FROM golang:1.17.7-alpine3.15
|
||||||
|
ENV GONOSUMDB=gitlab.connectone.pro/*
|
||||||
WORKDIR /opt/app
|
WORKDIR /opt/app
|
||||||
RUN apk add --no-cache tzdata ca-certificates git openssh
|
RUN apk add --no-cache tzdata ca-certificates git openssh
|
||||||
COPY --from=build /build/gomodproxy ./
|
COPY --from=build /build/gomodproxy ./
|
||||||
|
@ -14,7 +14,7 @@ services:
|
|||||||
propagation: shared
|
propagation: shared
|
||||||
- type: bind
|
- type: bind
|
||||||
source: ./keys
|
source: ./keys
|
||||||
target: /keys
|
target: /root/.ssh
|
||||||
bind:
|
bind:
|
||||||
propagation: shared
|
propagation: shared
|
||||||
command:
|
command:
|
||||||
@ -24,6 +24,6 @@ services:
|
|||||||
- --addr
|
- --addr
|
||||||
- :8080
|
- :8080
|
||||||
- -git
|
- -git
|
||||||
- gitlab.connectone.pro/:/keys/gitlab.connectone.pro
|
- gitlab.connectone.pro/:/root/.ssh/id_rsa
|
||||||
- -git
|
- -git
|
||||||
- gitlab.connectone.pro/:goproxy:glpat-_4p1YmfjcMsxdfXnayLm
|
- gitlab.connectone.pro/:goproxy:glpat-_4p1YmfjcMsxdfXnayLm
|
Loading…
x
Reference in New Issue
Block a user