Skip to content

Commit

Permalink
update go proxy to 1.23@1.25.0 (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrove-oss authored Sep 6, 2024
1 parent 11688d1 commit ad6e26a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions core/swift51Action/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# build go proxy from source
FROM golang:1.22 AS builder_source
FROM golang:1.23 AS builder_source
ARG GO_PROXY_GITHUB_USER=apache
ARG GO_PROXY_GITHUB_BRANCH=master
RUN git clone --branch ${GO_PROXY_GITHUB_BRANCH} \
Expand All @@ -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.22 AS builder_release
ARG GO_PROXY_RELEASE_VERSION=1.22@1.24.0
FROM golang:1.23 AS builder_release
ARG GO_PROXY_RELEASE_VERSION=1.23@1.25.0
RUN curl -sL \
https://github.com/apache/openwhisk-runtime-go/archive/{$GO_PROXY_RELEASE_VERSION}.tar.gz\
| tar xzf -\
Expand Down
6 changes: 3 additions & 3 deletions core/swift53Action/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# build go proxy from source
FROM golang:1.22 AS builder_source
FROM golang:1.23 AS builder_source
ARG GO_PROXY_GITHUB_USER=apache
ARG GO_PROXY_GITHUB_BRANCH=master
RUN git clone --branch ${GO_PROXY_GITHUB_BRANCH} \
Expand All @@ -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.22 AS builder_release
ARG GO_PROXY_RELEASE_VERSION=1.22@1.24.0
FROM golang:1.23 AS builder_release
ARG GO_PROXY_RELEASE_VERSION=1.23@1.25.0
RUN curl -sL \
https://github.com/apache/openwhisk-runtime-go/archive/{$GO_PROXY_RELEASE_VERSION}.tar.gz\
| tar xzf -\
Expand Down
6 changes: 3 additions & 3 deletions core/swift54Action/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# build go proxy from source
FROM golang:1.22 AS builder_source
FROM golang:1.23 AS builder_source
ARG GO_PROXY_GITHUB_USER=apache
ARG GO_PROXY_GITHUB_BRANCH=master
RUN git clone --branch ${GO_PROXY_GITHUB_BRANCH} \
Expand All @@ -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.22 AS builder_release
ARG GO_PROXY_RELEASE_VERSION=1.22@1.24.0
FROM golang:1.23 AS builder_release
ARG GO_PROXY_RELEASE_VERSION=1.23@1.25.0
RUN curl -sL \
https://github.com/apache/openwhisk-runtime-go/archive/{$GO_PROXY_RELEASE_VERSION}.tar.gz\
| tar xzf -\
Expand Down
6 changes: 3 additions & 3 deletions core/swift57Action/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# build go proxy from source
FROM golang:1.22 AS builder_source
FROM golang:1.23 AS builder_source
ARG GO_PROXY_GITHUB_USER=apache
ARG GO_PROXY_GITHUB_BRANCH=master
RUN git clone --branch ${GO_PROXY_GITHUB_BRANCH} \
Expand All @@ -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.22 AS builder_release
ARG GO_PROXY_RELEASE_VERSION=1.22@1.24.0
FROM golang:1.23 AS builder_release
ARG GO_PROXY_RELEASE_VERSION=1.23@1.25.0
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
Expand Down

0 comments on commit ad6e26a

Please sign in to comment.