Merge pull request #11605 from hashicorp/fix_dockerfile

add dumb-init package to Dockerfile
This commit is contained in:
99 2021-11-22 08:30:12 -08:00 committed by GitHub
commit 4b3c3c34b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 && \