Add dumb-init to Entrypoint
This commit is contained in:
parent
148b3e075d
commit
57e8fdeb10
@ -25,4 +25,7 @@ RUN apk add --no-cache git bzr rpm xz && \
|
|||||||
mv /go/bin/clair /clair && \
|
mv /go/bin/clair /clair && \
|
||||||
rm -rf /go /usr/local/go
|
rm -rf /go /usr/local/go
|
||||||
|
|
||||||
ENTRYPOINT ["/clair"]
|
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
|
||||||
|
ENTRYPOINT ["/usr/local/bin/dumb-init", "--", "/clair"]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user