30 lines
1.2 KiB
Docker
30 lines
1.2 KiB
Docker
FROM docker.io/bitnami/minideb:buster
|
|
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
|
|
|
ENV HOME="/" \
|
|
OS_ARCH="amd64" \
|
|
OS_FLAVOUR="debian-10" \
|
|
OS_NAME="linux"
|
|
|
|
COPY prebuildfs /
|
|
# Install required system packages and dependencies
|
|
RUN install_packages acl ca-certificates curl gzip iproute2 procps tar
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "render-template" "1.0.0-3" --checksum 8179ad1371c9a7d897fe3b1bf53bbe763f94edafef19acad2498dd48b3674efe
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.13.0-0" --checksum fd7257c2736164d02832dbf72e2c1ed9d875bf3e32f0988520796bc503330129
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "consul" "1.10.1-0" --checksum eef3633204b9fbf0931b272f65633ade0a58209d0b5cd7b05b971f3251da810a
|
|
RUN chmod g+rwX /opt/bitnami
|
|
|
|
COPY rootfs /
|
|
RUN /opt/bitnami/scripts/consul/postunpack.sh
|
|
ENV BITNAMI_APP_NAME="consul" \
|
|
BITNAMI_IMAGE_VERSION="1.10.1-debian-10-r29" \
|
|
PATH="/opt/bitnami/common/bin:/opt/bitnami/consul/bin:$PATH"
|
|
|
|
EXPOSE 8300 8301 8500 8600
|
|
|
|
EXPOSE 8301/udp 8600/udp
|
|
|
|
USER 1001
|
|
ENTRYPOINT [ "/opt/bitnami/scripts/consul/entrypoint.sh" ]
|
|
CMD [ "/opt/bitnami/scripts/consul/run.sh" ]
|