add dumb-init package to Dockerfile

This commit is contained in:
99 2021-11-18 08:36:59 -08:00
parent 392dedc3e2
commit bf3ccf5847
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.title="consul" \
org.opencontainers.image.description="Consul is a datacenter runtime that provides service discovery, configuration, and orchestration." 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 # 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. # the rest of this may change over time.
RUN addgroup $BIN_NAME && \ RUN addgroup $BIN_NAME && \