From 513e50f7f592e04c4485bfa37296c40fd65a0058 Mon Sep 17 00:00:00 2001 From: Georg K Date: Thu, 3 Mar 2022 22:16:56 +0300 Subject: [PATCH] fix: add nosumdb --- Dockerfile | 1 + docker-compose.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 07bdd87..0041ab3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 ./ diff --git a/docker-compose.yml b/docker-compose.yml index 9129a41..fbd62e9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 \ No newline at end of file