summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2021-12-20 22:11:10 -0500
committerGitHub <noreply@github.com>2021-12-20 22:11:10 -0500
commitd8ae769ddaa46100dc4a21e8af159c6a0c091cd2 (patch)
treeb05b65ad9033134d88199b2f80968423d1f11598
parent7cc7f0ed75218b061a9529b466ba0eb12954a753 (diff)
downloadgitea-d8ae769ddaa46100dc4a21e8af159c6a0c091cd2.tar.gz
gitea-d8ae769ddaa46100dc4a21e8af159c6a0c091cd2.zip
update docker image to latest go version (#18048)
-rw-r--r--Dockerfile4
-rw-r--r--Dockerfile.rootless4
2 files changed, 4 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 5bf06064a4..e9767402c7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
###################################
-#Build stage
-FROM golang:1.17-alpine3.13 AS build-env
+#Build stage - temporarily using techknowlogick image until we upgrade to latest official alpine/go image
+FROM techknowlogick/go:1.17-alpine3.13 AS build-env
ARG GOPROXY
ENV GOPROXY ${GOPROXY:-direct}
diff --git a/Dockerfile.rootless b/Dockerfile.rootless
index 8bfaf9cb86..5b22b26bc2 100644
--- a/Dockerfile.rootless
+++ b/Dockerfile.rootless
@@ -1,7 +1,7 @@
###################################
-#Build stage
-FROM golang:1.17-alpine3.13 AS build-env
+#Build stage - temporarily using techknowlogick image until we upgrade to latest official alpine/go image
+FROM techknowlogick/go:1.17-alpine3.13 AS build-env
ARG GOPROXY
ENV GOPROXY ${GOPROXY:-direct}