Skip to content

Commit

Permalink
Upgrading images to use Go 1.17.2 (#349)
Browse files Browse the repository at this point in the history
  • Loading branch information
arschles authored Dec 15, 2021
1 parent e20c455 commit c076979
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
5 changes: 2 additions & 3 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# [Choice] Go version: 1, 1.16, 1.15
ARG VARIANT=1.17
FROM mcr.microsoft.com/vscode/devcontainers/go:0-${VARIANT}
ARG GO_VERSION=1.17
FROM mcr.microsoft.com/vscode/devcontainers/go:0-${GO_VERSION}

# install mage
RUN git clone https://github.com/magefile/mage && \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.16.x
go-version: 1.17.2
- name: Test
run: go test ./...
2 changes: 1 addition & 1 deletion interceptor/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# adapted from Athens
# https://github.com/gomods/athens/blob/main/cmd/proxy/Dockerfile
ARG GOLANG_VERSION=1.16
ARG GOLANG_VERSION=1.17.2
ARG GOARCH=amd64
ARG GOOS=linux

Expand Down
2 changes: 1 addition & 1 deletion operator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# adapted from Athens
# https://github.com/gomods/athens/blob/main/cmd/proxy/Dockerfile
ARG GOLANG_VERSION=1.16
ARG GOLANG_VERSION=1.17.2
ARG GOARCH=amd64
ARG GOOS=linux

Expand Down
3 changes: 1 addition & 2 deletions scaler/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# taken from Athens
# https://github.com/gomods/athens/blob/main/cmd/proxy/Dockerfile
ARG GOLANG_VERSION=1.16
ARG GOLANG_VERSION=1.17.2
ARG GOARCH=amd64
ARG GOOS=linux


FROM golang:${GOLANG_VERSION}-alpine AS builder

WORKDIR $GOPATH/src/github.com/kedacore/http-add-on
Expand Down

0 comments on commit c076979

Please sign in to comment.