Skip to content

Commit

Permalink
Updates to docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
jleaniz committed Oct 5, 2023
1 parent 37cd620 commit 6643913
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions docker/tests/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@ RUN cp /home/turbinia/password.lst /root/
# Copy Kubernetes support tool to home folder
COPY --chown=turbinia:turbinia k8s/tools/check-lockfile.py /home/turbinia/check-lockfile.py

# Drop privileges and set the working directory
USER turbinia
# Set the working directory
WORKDIR /home/turbinia

# Copy only requirements, to cache them in docker layer
Expand Down
3 changes: 2 additions & 1 deletion docker/worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ RUN echo ':\nd' > /home/turbinia/turbinia-password-cracking.rules
# Copy Kubernetes support tool to home folder
COPY --chown=turbinia:turbinia k8s/tools/check-lockfile.py /home/turbinia/check-lockfile.py

# Set the working directory
# Drop privileges and set the working directory
USER turbinia
WORKDIR /home/turbinia

# Copy requirements and install dependencies to cache them in docker layer
Expand Down

0 comments on commit 6643913

Please sign in to comment.