Add dumb-init to Entrypoint

This commit is contained in:
Ben Sebastian 2017-10-13 12:11:54 -04:00
parent 57e8fdeb10
commit d60993c025

View File

@ -27,5 +27,6 @@ RUN apk add --no-cache git bzr rpm xz && \
RUN curl -L https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64 > /usr/local/bin/dumb-init \ RUN curl -L https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64 > /usr/local/bin/dumb-init \
&& chmod +x /usr/local/bin/dumb-init && chmod +x /usr/local/bin/dumb-init
ENTRYPOINT ["/usr/local/bin/dumb-init", "--", "/clair"] ENTRYPOINT ["/usr/local/bin/dumb-init", "--", "/clair"]