Skip to content

Commit

Permalink
Update to golang:1.15 for build (security). (#121)
Browse files Browse the repository at this point in the history
Update from golang:1.12 to golang:1.15 for the runtime proxy build to continue to get security fixes.
  • Loading branch information
falkzoll authored Sep 29, 2020
1 parent b9e12bb commit ac3d421
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
3 changes: 3 additions & 0 deletions core/swift42Action/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

# Apache OpenWhisk Swift 4.2 Runtime Container

## 1.15.0
- Move from golang:1.12 to golang:1.15 to build the runtime proxy.

## 1.14.0
- Support for __OW_ACTION_VERSION (openwhisk/4761)

Expand Down
4 changes: 2 additions & 2 deletions core/swift42Action/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
#

# build go proxy from source
FROM golang:1.12 AS builder_source
FROM golang:1.15 AS builder_source
RUN env CGO_ENABLED=0 go get github.com/apache/openwhisk-runtime-go/main && mv /go/bin/main /bin/proxy

# or build it from a release
FROM golang:1.12 AS builder_release
FROM golang:1.15 AS builder_release
ARG GO_PROXY_RELEASE_VERSION=1.12@1.15.0
RUN curl -sL \
https://github.com/apache/openwhisk-runtime-go/archive/{$GO_PROXY_RELEASE_VERSION}.tar.gz\
Expand Down
3 changes: 3 additions & 0 deletions core/swift51Action/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@

# Apache OpenWhisk Swift 5.1 Runtime Container

## 1.15.0
- Move from golang:1.12 to golang:1.15 to build the runtime proxy.

## 1.14.0
- Initial Release
4 changes: 2 additions & 2 deletions core/swift51Action/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
#

# build go proxy from source
FROM golang:1.12 AS builder_source
FROM golang:1.15 AS builder_source
RUN env CGO_ENABLED=0 go get github.com/apache/openwhisk-runtime-go/main && mv /go/bin/main /bin/proxy

# or build it from a release
FROM golang:1.12 AS builder_release
FROM golang:1.15 AS builder_release
ARG GO_PROXY_RELEASE_VERSION=1.12@1.15.0
RUN curl -sL \
https://github.com/apache/openwhisk-runtime-go/archive/{$GO_PROXY_RELEASE_VERSION}.tar.gz\
Expand Down

0 comments on commit ac3d421

Please sign in to comment.