Skip to content

Commit f09c4e3

Browse files
Remove patch version from Dockerfile Golang base (#316)
Issue #, if available: aws-controllers-k8s/community#1241 Description of changes: Removes the patch version from the Golang base image in our Dockerfiles. This should now use the latest Go 1.17 patch when building images - meaning we can capture the latest security fixes as soon as they become available in the bitnami image. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 2e91b85 commit f09c4e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ARG base_image=public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-n
33
# Build the manager binary
44
# TODO(vijtrip2) move this builder image to public.ecr.aws/eks-distro-build-tooling/builder-base, when builder-base
55
# supports golang 1.17
6-
FROM public.ecr.aws/bitnami/golang:1.17.5 as builder
6+
FROM public.ecr.aws/bitnami/golang:1.17 as builder
77

88
ARG service_alias
99
# The tuple of controller image version information

Dockerfile.local

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ARG base_image=public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-n
33
# Build the manager binary
44
# TODO(vijtrip2) move this builder image to public.ecr.aws/eks-distro-build-tooling/builder-base, when builder-base
55
# supports golang 1.17
6-
FROM public.ecr.aws/bitnami/golang:1.17.5 as builder
6+
FROM public.ecr.aws/bitnami/golang:1.17 as builder
77

88
ARG service_alias
99
# The tuple of controller image version information

0 commit comments

Comments
 (0)