mirror of https://github.com/hashicorp/consul
build: ensure we pull through the hashicorp proxy instead of going directly to the docker hub (#19482)
parent
815c52ac0d
commit
bb3d5a16c5
|
@ -2,7 +2,7 @@
|
||||||
# SPDX-License-Identifier: BUSL-1.1
|
# SPDX-License-Identifier: BUSL-1.1
|
||||||
|
|
||||||
ARG CONSUL_IMAGE_VERSION=latest
|
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
|
RUN apk update && apk add iptables
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
COPY linux_${TARGETARCH}/consul /bin/consul
|
COPY linux_${TARGETARCH}/consul /bin/consul
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# SPDX-License-Identifier: BUSL-1.1
|
# SPDX-License-Identifier: BUSL-1.1
|
||||||
|
|
||||||
ARG CONSUL_IMAGE_VERSION=latest
|
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
|
RUN apk update && apk add iptables
|
||||||
COPY consul /bin/consul
|
COPY consul /bin/consul
|
||||||
|
|
Loading…
Reference in New Issue