This is an automated email from the ASF dual-hosted git repository.
dgrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-runtime-swift.git
The following commit(s) were added to refs/heads/master by this push:
new ac1234e build go proxy from runtime-go 1.22.0 (#155)
ac1234e is described below
commit ac1234e92b27afc0708a44bbac3081ba74ca0420
Author: David Grove <[email protected]>
AuthorDate: Thu Jul 6 11:47:28 2023 -0400
build go proxy from runtime-go 1.22.0 (#155)
---
core/swift51Action/Dockerfile | 6 +++---
core/swift53Action/Dockerfile | 6 +++---
core/swift54Action/Dockerfile | 6 +++---
core/swift57Action/Dockerfile | 6 +++---
4 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/core/swift51Action/Dockerfile b/core/swift51Action/Dockerfile
index 8175a05..023e346 100644
--- a/core/swift51Action/Dockerfile
+++ b/core/swift51Action/Dockerfile
@@ -16,7 +16,7 @@
#
# build go proxy from source
-FROM golang:1.18 AS builder_source
+FROM golang:1.20 AS builder_source
ARG GO_PROXY_GITHUB_USER=apache
ARG GO_PROXY_GITHUB_BRANCH=master
RUN git clone --branch ${GO_PROXY_GITHUB_BRANCH} \
@@ -25,8 +25,8 @@ RUN git clone --branch ${GO_PROXY_GITHUB_BRANCH} \
mv proxy /bin/proxy
# or build it from a release
-FROM golang:1.18 AS builder_release
-ARG [email protected]
+FROM golang:1.20 AS builder_release
+ARG [email protected]
RUN curl -sL \
https://github.com/apache/openwhisk-runtime-go/archive/{$GO_PROXY_RELEASE_VERSION}.tar.gz\
| tar xzf -\
diff --git a/core/swift53Action/Dockerfile b/core/swift53Action/Dockerfile
index cc91019..66213fa 100644
--- a/core/swift53Action/Dockerfile
+++ b/core/swift53Action/Dockerfile
@@ -16,7 +16,7 @@
#
# build go proxy from source
-FROM golang:1.18 AS builder_source
+FROM golang:1.20 AS builder_source
ARG GO_PROXY_GITHUB_USER=apache
ARG GO_PROXY_GITHUB_BRANCH=master
RUN git clone --branch ${GO_PROXY_GITHUB_BRANCH} \
@@ -25,8 +25,8 @@ RUN git clone --branch ${GO_PROXY_GITHUB_BRANCH} \
mv proxy /bin/proxy
# or build it from a release
-FROM golang:1.18 AS builder_release
-ARG [email protected]
+FROM golang:1.20 AS builder_release
+ARG [email protected]
RUN curl -sL \
https://github.com/apache/openwhisk-runtime-go/archive/{$GO_PROXY_RELEASE_VERSION}.tar.gz\
| tar xzf -\
diff --git a/core/swift54Action/Dockerfile b/core/swift54Action/Dockerfile
index f1f4a7f..40a4ecd 100644
--- a/core/swift54Action/Dockerfile
+++ b/core/swift54Action/Dockerfile
@@ -16,7 +16,7 @@
#
# build go proxy from source
-FROM golang:1.18 AS builder_source
+FROM golang:1.20 AS builder_source
ARG GO_PROXY_GITHUB_USER=apache
ARG GO_PROXY_GITHUB_BRANCH=master
RUN git clone --branch ${GO_PROXY_GITHUB_BRANCH} \
@@ -25,8 +25,8 @@ RUN git clone --branch ${GO_PROXY_GITHUB_BRANCH} \
mv proxy /bin/proxy
# or build it from a release
-FROM golang:1.18 AS builder_release
-ARG [email protected]
+FROM golang:1.20 AS builder_release
+ARG [email protected]
RUN curl -sL \
https://github.com/apache/openwhisk-runtime-go/archive/{$GO_PROXY_RELEASE_VERSION}.tar.gz\
| tar xzf -\
diff --git a/core/swift57Action/Dockerfile b/core/swift57Action/Dockerfile
index cefe98d..ec53108 100644
--- a/core/swift57Action/Dockerfile
+++ b/core/swift57Action/Dockerfile
@@ -16,7 +16,7 @@
#
# build go proxy from source
-FROM golang:1.18 AS builder_source
+FROM golang:1.20 AS builder_source
ARG GO_PROXY_GITHUB_USER=apache
ARG GO_PROXY_GITHUB_BRANCH=master
RUN git clone --branch ${GO_PROXY_GITHUB_BRANCH} \
@@ -25,8 +25,8 @@ RUN git clone --branch ${GO_PROXY_GITHUB_BRANCH} \
mv proxy /bin/proxy
# or build it from a release
-FROM golang:1.18 AS builder_release
-ARG [email protected]
+FROM golang:1.20 AS builder_release
+ARG [email protected]
RUN curl -sL
https://github.com/apache/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