add dumb-init package to Dockerfile

This commit is contained in:
99 2021-11-18 08:36:59 -08:00
parent 07e7fdcd09
commit 775077c859
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ LABEL org.opencontainers.image.authors="Consul Team <consul@hashicorp.com>" \
org.opencontainers.image.title="consul" \
org.opencontainers.image.description="Consul is a datacenter runtime that provides service discovery, configuration, and orchestration."
RUN apk add --no-cache dumb-init
# Create a consul user and group first so the IDs get set the same way, even as
# the rest of this may change over time.
RUN addgroup $BIN_NAME && \