UNCLASSIFIED

Commits (3)
...@@ -11,7 +11,8 @@ FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} ...@@ -11,7 +11,8 @@ FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
ENV REQUIRED_PACKAGES="shadow-utils libsemanage" ENV REQUIRED_PACKAGES="shadow-utils libsemanage"
RUN microdnf --setopt=tsflags=nodocs install $REQUIRED_PACKAGES \ RUN microdnf update -y --setopt=install_weak_deps=0 --nodocs \
&& microdnf --setopt=tsflags=nodocs install $REQUIRED_PACKAGES \
&& useradd sysdig -u 1000 \ && useradd sysdig -u 1000 \
&& microdnf remove $REQUIRED_PACKAGES \ && microdnf remove $REQUIRED_PACKAGES \
&& microdnf clean all \ && microdnf clean all \
...@@ -27,4 +28,4 @@ RUN chown sysdig:sysdig /cloud-scanning \ ...@@ -27,4 +28,4 @@ RUN chown sysdig:sysdig /cloud-scanning \
EXPOSE 5000 EXPOSE 5000
HEALTHCHECK --start-period=30s CMD curl -f 127.0.0.1:5000 || exit 1 HEALTHCHECK --start-period=30s CMD curl -f 127.0.0.1:5000 || exit 1
USER 1000 USER 1000
ENTRYPOINT ["/cloud-scanning"] ENTRYPOINT ["/cloud-scanning"]
\ No newline at end of file