fix: fix docker file images proxy (#2069)

* fix: fix docker file images proxy

* fix: fix docker file images proxy
This commit is contained in:
Xinwei Xiong 2024-03-10 13:34:08 +08:00 committed by GitHub
parent 3a1615795e
commit 5454c512e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
16 changed files with 15 additions and 17 deletions

View File

@ -11,8 +11,6 @@ ENV GOPROXY=$GOPROXY
# Set up the working directory # Set up the working directory
WORKDIR /openim/openim-server WORKDIR /openim/openim-server
# Copy all files to the container # Copy all files to the container
ADD . . ADD . .

View File

@ -19,7 +19,7 @@
FROM golang:1.20 AS builder FROM golang:1.20 AS builder
ARG GO111MODULE=on ARG GO111MODULE=on
ARG GOPROXY=https://goproxy.cn,direct ARG GOPROXY=https://goproxy.io,direct
WORKDIR /openim/openim-server WORKDIR /openim/openim-server

View File

@ -19,7 +19,7 @@
FROM golang:1.20 AS builder FROM golang:1.20 AS builder
ARG GO111MODULE=on ARG GO111MODULE=on
ARG GOPROXY=https://goproxy.cn,direct ARG GOPROXY=https://goproxy.io,direct
WORKDIR /openim/openim-server WORKDIR /openim/openim-server

View File

@ -19,7 +19,7 @@
FROM golang:1.20 AS builder FROM golang:1.20 AS builder
ARG GO111MODULE=on ARG GO111MODULE=on
ARG GOPROXY=https://goproxy.cn,direct ARG GOPROXY=https://goproxy.io,direct
WORKDIR /openim/openim-server WORKDIR /openim/openim-server

View File

@ -19,7 +19,7 @@
FROM golang:1.20 AS builder FROM golang:1.20 AS builder
ARG GO111MODULE=on ARG GO111MODULE=on
ARG GOPROXY=https://goproxy.cn,direct ARG GOPROXY=https://goproxy.io,direct
WORKDIR /openim/openim-server WORKDIR /openim/openim-server

View File

@ -19,7 +19,7 @@
FROM golang:1.20 AS builder FROM golang:1.20 AS builder
ARG GO111MODULE=on ARG GO111MODULE=on
ARG GOPROXY=https://goproxy.cn,direct ARG GOPROXY=https://goproxy.io,direct
WORKDIR /openim/openim-server WORKDIR /openim/openim-server

View File

@ -19,7 +19,7 @@
FROM golang:1.20 AS builder FROM golang:1.20 AS builder
ARG GO111MODULE=on ARG GO111MODULE=on
ARG GOPROXY=https://goproxy.cn,direct ARG GOPROXY=https://goproxy.io,direct
WORKDIR /openim/openim-server WORKDIR /openim/openim-server

View File

@ -19,7 +19,7 @@
FROM golang:1.20 AS builder FROM golang:1.20 AS builder
ARG GO111MODULE=on ARG GO111MODULE=on
ARG GOPROXY=https://goproxy.cn,direct ARG GOPROXY=https://goproxy.io,direct
WORKDIR /openim/openim-server WORKDIR /openim/openim-server

View File

@ -19,7 +19,7 @@
FROM golang:1.20 AS builder FROM golang:1.20 AS builder
ARG GO111MODULE=on ARG GO111MODULE=on
ARG GOPROXY=https://goproxy.cn,direct ARG GOPROXY=https://goproxy.io,direct
WORKDIR /openim/openim-server WORKDIR /openim/openim-server

View File

@ -19,7 +19,7 @@
FROM golang:1.20 AS builder FROM golang:1.20 AS builder
ARG GO111MODULE=on ARG GO111MODULE=on
ARG GOPROXY=https://goproxy.cn,direct ARG GOPROXY=https://goproxy.io,direct
WORKDIR /openim/openim-server WORKDIR /openim/openim-server

View File

@ -19,7 +19,7 @@
FROM golang:1.20 AS builder FROM golang:1.20 AS builder
ARG GO111MODULE=on ARG GO111MODULE=on
ARG GOPROXY=https://goproxy.cn,direct ARG GOPROXY=https://goproxy.io,direct
WORKDIR /openim/openim-server WORKDIR /openim/openim-server

View File

@ -19,7 +19,7 @@
FROM golang:1.20 AS builder FROM golang:1.20 AS builder
ARG GO111MODULE=on ARG GO111MODULE=on
ARG GOPROXY=https://goproxy.cn,direct ARG GOPROXY=https://goproxy.io,direct
WORKDIR /openim/openim-server WORKDIR /openim/openim-server

View File

@ -19,7 +19,7 @@
FROM golang:1.20 AS builder FROM golang:1.20 AS builder
ARG GO111MODULE=on ARG GO111MODULE=on
ARG GOPROXY=https://goproxy.cn,direct ARG GOPROXY=https://goproxy.io,direct
WORKDIR /openim/openim-server WORKDIR /openim/openim-server

View File

@ -19,7 +19,7 @@
FROM golang:1.20 AS builder FROM golang:1.20 AS builder
ARG GO111MODULE=on ARG GO111MODULE=on
ARG GOPROXY=https://goproxy.cn,direct ARG GOPROXY=https://goproxy.io,direct
WORKDIR /openim/openim-server WORKDIR /openim/openim-server

View File

@ -19,7 +19,7 @@
FROM golang:1.20 AS builder FROM golang:1.20 AS builder
ARG GO111MODULE=on ARG GO111MODULE=on
ARG GOPROXY=https://goproxy.cn,direct ARG GOPROXY=https://goproxy.io,direct
WORKDIR /openim/openim-server WORKDIR /openim/openim-server

View File

@ -19,7 +19,7 @@
FROM golang:1.20 AS builder FROM golang:1.20 AS builder
ARG GO111MODULE=on ARG GO111MODULE=on
ARG GOPROXY=https://goproxy.cn,direct ARG GOPROXY=https://goproxy.io,direct
WORKDIR /openim/openim-server WORKDIR /openim/openim-server