consul/build-support/docker/Build-Go.dockerfile
Michael Zalimeni 8eb074e7c1
[NET-5944] security: Update Go version to 1.20.10 and x/net to 0.17.0 (#19225)
* Bump golang.org/x/net to 0.17.0

This resolves [CVE-2023-39325](https://nvd.nist.gov/vuln/detail/CVE-2023-39325)
/ [CVE-2023-44487](https://nvd.nist.gov/vuln/detail/CVE-2023-44487).

* Update Go version to 1.20.10

This resolves [CVE-2023-39325](https://nvd.nist.gov/vuln/detail/CVE-2023-39325)
/ [CVE-2023-44487](https://nvd.nist.gov/vuln/detail/CVE-2023-44487)
(`net/http`).
2023-10-16 17:49:04 -04:00

8 lines
143 B
Docker

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
ARG GOLANG_VERSION=1.20.10
FROM golang:${GOLANG_VERSION}
WORKDIR /consul