Backport of build: ensure we pull through the hashicorp proxy instead of going directly to the docker hub into release/1.17.x (#19486)

backport of commit 5ab1e9888e

Co-authored-by: R.B. Boyer <rb@hashicorp.com>
pull/19490/head
hc-github-team-consul-core 1 year ago committed by GitHub
parent e557c80e9c
commit 33e9e6de0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,7 +2,7 @@
# SPDX-License-Identifier: BUSL-1.1
ARG CONSUL_IMAGE_VERSION=latest
FROM hashicorp/consul:${CONSUL_IMAGE_VERSION}
FROM docker.mirror.hashicorp.services/hashicorp/consul:${CONSUL_IMAGE_VERSION}
RUN apk update && apk add iptables
ARG TARGETARCH
COPY linux_${TARGETARCH}/consul /bin/consul

@ -2,6 +2,6 @@
# SPDX-License-Identifier: BUSL-1.1
ARG CONSUL_IMAGE_VERSION=latest
FROM hashicorp/consul:${CONSUL_IMAGE_VERSION}
FROM docker.mirror.hashicorp.services/hashicorp/consul:${CONSUL_IMAGE_VERSION}
RUN apk update && apk add iptables
COPY consul /bin/consul

Loading…
Cancel
Save