add dumb-init package to Dockerfile

pull/11605/head
99 3 years ago
parent 392dedc3e2
commit bf3ccf5847

@ -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 && \

Loading…
Cancel
Save