From 2ff41b63fe55f4c7acc35d8d7967a3efa8e530e1 Mon Sep 17 00:00:00 2001 From: Spagno Date: Tue, 7 May 2024 18:33:50 +0200 Subject: [PATCH] Added GO_PROXY_GITHUB_USER variable for builder_release container --- core/python310Action/Dockerfile | 3 ++- core/python311Action/Dockerfile | 3 ++- core/python312Action/Dockerfile | 3 ++- core/python39Action/Dockerfile | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/core/python310Action/Dockerfile b/core/python310Action/Dockerfile index 5afe76e..1cad11c 100644 --- a/core/python310Action/Dockerfile +++ b/core/python310Action/Dockerfile @@ -27,8 +27,9 @@ RUN git clone --branch ${GO_PROXY_GITHUB_BRANCH} \ # or build it from a release FROM golang:1.22 AS builder_release ARG GO_PROXY_RELEASE_VERSION=1.22@1.24.0 +ARG GO_PROXY_GITHUB_USER=apache RUN curl -sL \ - https://github.com/apache/openwhisk-runtime-go/archive/{$GO_PROXY_RELEASE_VERSION}.tar.gz\ + https://github.com/${GO_PROXY_GITHUB_USER}/openwhisk-runtime-go/archive/{$GO_PROXY_RELEASE_VERSION}.tar.gz\ | tar xzf -\ && cd openwhisk-runtime-go-*/main\ && GO111MODULE=on CGO_ENABLED=0 go build -o /bin/proxy diff --git a/core/python311Action/Dockerfile b/core/python311Action/Dockerfile index 7e88ed2..d682d37 100644 --- a/core/python311Action/Dockerfile +++ b/core/python311Action/Dockerfile @@ -27,8 +27,9 @@ RUN git clone --branch ${GO_PROXY_GITHUB_BRANCH} \ # or build it from a release FROM golang:1.22 AS builder_release ARG GO_PROXY_RELEASE_VERSION=1.22@1.24.0 +ARG GO_PROXY_GITHUB_USER=apache RUN curl -sL \ - https://github.com/apache/openwhisk-runtime-go/archive/{$GO_PROXY_RELEASE_VERSION}.tar.gz\ + https://github.com/${GO_PROXY_GITHUB_USER}/openwhisk-runtime-go/archive/{$GO_PROXY_RELEASE_VERSION}.tar.gz\ | tar xzf -\ && cd openwhisk-runtime-go-*/main\ && GO111MODULE=on CGO_ENABLED=0 go build -o /bin/proxy diff --git a/core/python312Action/Dockerfile b/core/python312Action/Dockerfile index dd2ff02..a01863d 100644 --- a/core/python312Action/Dockerfile +++ b/core/python312Action/Dockerfile @@ -27,8 +27,9 @@ RUN git clone --branch ${GO_PROXY_GITHUB_BRANCH} \ # or build it from a release FROM golang:1.22 AS builder_release ARG GO_PROXY_RELEASE_VERSION=1.22@1.24.0 +ARG GO_PROXY_GITHUB_USER=apache RUN curl -sL \ - https://github.com/apache/openwhisk-runtime-go/archive/{$GO_PROXY_RELEASE_VERSION}.tar.gz\ + https://github.com/${GO_PROXY_GITHUB_USER}/openwhisk-runtime-go/archive/{$GO_PROXY_RELEASE_VERSION}.tar.gz\ | tar xzf -\ && cd openwhisk-runtime-go-*/main\ && GO111MODULE=on CGO_ENABLED=0 go build -o /bin/proxy diff --git a/core/python39Action/Dockerfile b/core/python39Action/Dockerfile index 3dcaa74..a25eab1 100644 --- a/core/python39Action/Dockerfile +++ b/core/python39Action/Dockerfile @@ -27,8 +27,9 @@ RUN git clone --branch ${GO_PROXY_GITHUB_BRANCH} \ # or build it from a release FROM golang:1.22 AS builder_release ARG GO_PROXY_RELEASE_VERSION=1.22@1.24.0 +ARG GO_PROXY_GITHUB_USER=apache RUN curl -sL \ - https://github.com/apache/openwhisk-runtime-go/archive/{$GO_PROXY_RELEASE_VERSION}.tar.gz\ + https://github.com/${GO_PROXY_GITHUB_USER}/openwhisk-runtime-go/archive/{$GO_PROXY_RELEASE_VERSION}.tar.gz\ | tar xzf -\ && cd openwhisk-runtime-go-*/main\ && GO111MODULE=on CGO_ENABLED=0 go build -o /bin/proxy