sha256:b1fd23d1b26ef0291f96b3ee217cfe3c0ef0ecba8937523e84901f89be8afe67
OS/ARCH
Compressed size
51 MB
Last pushed
over 3 years by doijanky
Type
Image
Vulnerabilities
Manifest digest
sha256:0e4d7e3db0aa2537b2212f551db3a4691f04067c98741045ec50c02d45d635a2
2
ARG CONSUL_VERSION=1.14.6
0 B
3
LABEL org.opencontainers.image.authors=Consul Team <[email protected]> org.opencontainers.image.url=https://www.consul.io/ org.opencontainers.image.documentation=https://www.consul.io/docs org.opencontainers.image.source=https://github.com/hashicorp/consul org.opencontainers.image.version=1.14.6 org.opencontainers.image.vendor=HashiCorp org.opencontainers.image.title=consul org.opencontainers.image.description=Consul is a datacenter runtime that provides service discovery, configuration, and orchestration.
0 B
4
ENV HASHICORP_RELEASES=https://releases.hashicorp.com
0 B
5
|1 CONSUL_VERSION=1.14.6 /bin/sh -c addgroup consul && adduser -S -G consul consul
1.27 KB
6
|1 CONSUL_VERSION=1.14.6 /bin/sh -c set -eux && apk add --no-cache ca-certificates curl dumb-init gnupg libcap openssl su-exec iputils jq libc6-compat iptables tzdata && gpg --keyserver keyserver.ubuntu.com --recv-keys C874011F0AB405110D02105534365D9472D7468F && mkdir -p /tmp/build && cd /tmp/build && apkArch="$(apk --print-arch)" && case "${apkArch}" in aarch64) consulArch='arm64' ;; armhf) consulArch='arm' ;; x86) consulArch='386' ;; x86_64) consulArch='amd64' ;; *) echo >&2 "error: unsupported architecture: ${apkArch} (see ${HASHICORP_RELEASES}/consul/${CONSUL_VERSION}/)" && exit 1 ;; esac && wget ${HASHICORP_RELEASES}/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_${consulArch}.zip && wget ${HASHICORP_RELEASES}/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_SHA256SUMS && wget ${HASHICORP_RELEASES}/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_SHA256SUMS.sig && gpg --batch --verify consul_${CONSUL_VERSION}_SHA256SUMS.sig consul_${CONSUL_VERSION}_SHA256SUMS && grep consul_${CONSUL_VERSION}_linux_${consulArch}.zip consul_${CONSUL_VERSION}_SHA256SUMS | sha256sum -c && unzip -d /tmp/build consul_${CONSUL_VERSION}_linux_${consulArch}.zip && cp /tmp/build/consul /bin/consul && if [ -f /tmp/build/EULA.txt ]; then mkdir -p /usr/share/doc/consul; mv /tmp/build/EULA.txt /usr/share/doc/consul/EULA.txt; fi && if [ -f /tmp/build/TermsOfEvaluation.txt ]; then mkdir -p /usr/share/doc/consul; mv /tmp/build/TermsOfEvaluation.txt /usr/share/doc/consul/TermsOfEvaluation.txt; fi && cd /tmp && rm -rf /tmp/build && gpgconf --kill all && apk del gnupg openssl && rm -rf /root/.gnupg && consul version
50.84 MB
7
|1 CONSUL_VERSION=1.14.6 /bin/sh -c mkdir -p /consul/data && mkdir -p /consul/config && chown -R consul:consul /consul
175 B
8
|1 CONSUL_VERSION=1.14.6 /bin/sh -c test -e /etc/nsswitch.conf || echo 'hosts: files dns' > /etc/nsswitch.conf
155 B
9
VOLUME [/consul/data]
0 B
10
EXPOSE 8300
0 B
11
EXPOSE 8301 8301/udp 8302 8302/udp
0 B
12
EXPOSE 8500 8600 8600/udp
0 B
13
COPY file:f5ba00fb9fd3a67a835a792e07b11da3b163222c18f8512aa772b36520d2a653 in /usr/local/bin/docker-entrypoint.sh
1.83 KB
14
ENTRYPOINT ["docker-entrypoint.sh"]
0 B
15
CMD ["agent" "-dev" "-client" "0.0.0.0"]
0 B