mirror of https://github.com/hashicorp/consul
Reference hashicorp/consul instead of consul for Docker image
parent
3368f14fab
commit
d490377d50
|
@ -2,7 +2,7 @@
|
||||||
# SPDX-License-Identifier: MPL-2.0
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
ARG CONSUL_IMAGE_VERSION=latest
|
ARG CONSUL_IMAGE_VERSION=latest
|
||||||
FROM consul:${CONSUL_IMAGE_VERSION}
|
FROM 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: MPL-2.0
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
ARG CONSUL_IMAGE_VERSION=latest
|
ARG CONSUL_IMAGE_VERSION=latest
|
||||||
FROM consul:${CONSUL_IMAGE_VERSION}
|
FROM 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
|
||||||
|
|
|
@ -308,7 +308,7 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: example
|
- name: example
|
||||||
image: 'consul:latest'
|
image: 'hashicorp/consul:latest'
|
||||||
env:
|
env:
|
||||||
- name: HOST_IP
|
- name: HOST_IP
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
@ -345,7 +345,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: example
|
- name: example
|
||||||
image: 'consul:latest'
|
image: 'hashicorp/consul:latest'
|
||||||
env:
|
env:
|
||||||
- name: HOST_IP
|
- name: HOST_IP
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|
Loading…
Reference in New Issue