We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f65ae32 commit cddd8aeCopy full SHA for cddd8ae
1 file changed
docker/macosm1-image/Dockerfile
@@ -8,7 +8,7 @@ ENV DEBIAN_FRONTEND=noninteractive
8
# Blocking module requirement to avoid using sudo
9
ENV IS_IN_A_DOCKER_CONTAINER True
10
11
-# destionation dir for slips inside the container
+# destination dir for slips inside the container
12
ENV SLIPS_DIR /StratosphereLinuxIPS
13
14
# Install wget and add Zeek repository to our sources.
@@ -68,5 +68,9 @@ RUN npm install
68
# Switch to Slips installation dir when login.
69
WORKDIR ${SLIPS_DIR}
70
71
-#CMD redis-server --daemonize yes && /bin/bash
72
-CMD /bin/bash
+# Use a non-root user to run the container
+RUN useradd -m -s /bin/bash slipsuser
73
+RUN chown -R slipsuser:slipsuser ${SLIPS_DIR}
74
+USER slipsuser
75
+
76
+CMD ["/bin/bash"]
0 commit comments