2023-03-28 22:48:58 +00:00
|
|
|
# Copyright (c) HashiCorp, Inc.
|
|
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2022-08-16 20:47:39 +00:00
|
|
|
ARG CONSUL_IMAGE_VERSION=latest
|
2023-11-02 18:13:25 +00:00
|
|
|
FROM docker.mirror.hashicorp.services/hashicorp/consul:${CONSUL_IMAGE_VERSION}
|
2022-08-16 20:47:39 +00:00
|
|
|
RUN apk update && apk add iptables
|
|
|
|
ARG TARGETARCH
|
|
|
|
COPY linux_${TARGETARCH}/consul /bin/consul
|