UNCLASSIFIED

You need to sign in or sign up before continuing.
Commit 0fc5d756 authored by Aitor Acedo's avatar Aitor Acedo
Browse files

Include microdnf update command

parent 07477025
Pipeline #332796 passed with stages
in 4 minutes and 12 seconds
......@@ -11,7 +11,8 @@ FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
ENV REQIRED_PACKAGES="shadow-utils libsemanage"
RUN microdnf --setopt=tsflags=nodocs install $REQIRED_PACKAGES \
RUN microdnf update -y --setopt=install_weak_deps=0 --nodocs \
&& microdnf --setopt=tsflags=nodocs install $REQIRED_PACKAGES \
&& useradd sysdig -u 1000 \
&& microdnf remove $REQIRED_PACKAGES \
&& microdnf clean all \
......@@ -24,4 +25,4 @@ COPY ${BINARY} /bin/webhook
EXPOSE 5000
HEALTHCHECK --start-period=30s CMD curl -f 127.0.0.1:5000 || exit 1
USER 1000
ENTRYPOINT ["/bin/webhook"]
\ No newline at end of file
ENTRYPOINT ["/bin/webhook"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment