Skip to content

Commit ffd3472

Browse files
authored
🔒 Dockerfile updates (#99)
Signed-off-by: Evaline Ju <[email protected]>
1 parent 9353f1a commit ffd3472

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Dockerfile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ RUN --mount=type=bind,source=scripts/image_hardening,target=scripts \
4545
sh scripts/remediation-script.sh && \
4646
sh scripts/removeRemediationTools.sh
4747

48+
USER 1001
49+
50+
HEALTHCHECK NONE
51+
4852
ENV SHARED_PACKAGE_PATH="/shared_packages/app/"
4953

5054
# The entrypoint for this image is designed to follow its usage, i.e
@@ -64,4 +68,8 @@ COPY --from=build_tgis_adapter --chown=1001 /app/target_packages /app/target_pac
6468
RUN --mount=type=bind,source=scripts/image_hardening,target=scripts \
6569
sh scripts/installRemediationTools.sh && \
6670
sh scripts/remediation-script.sh && \
67-
sh scripts/removeRemediationTools.sh
71+
sh scripts/removeRemediationTools.sh
72+
73+
USER 1001
74+
75+
HEALTHCHECK NONE

0 commit comments

Comments
 (0)