Skip to content

Commit

Permalink
fix chown/chmod location
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanq16 authored Dec 25, 2023
1 parent 89870e4 commit 4843cd8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions security_docker_main/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ RUN DEBIAN_FRONTEND="noninteractive" apt install -y --no-install-recommends \
COPY --from=intermediate_builder /executables /opt/executables
COPY --from=intermediate_builder /neovim-linux64.deb /neovim-linux64.deb
RUN DEBIAN_FRONTEND="noninteractive" apt install -y --no-install-recommends /neovim-linux64.deb && rm /neovim-linux64.deb
RUN chown -R root:root /opt/executables && chmod 755 /opt/executables/*

# ============================================================================================================
# =============================================================================== CLI Productivity Suite =====
Expand Down
1 change: 0 additions & 1 deletion security_docker_main/builder.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ RUN mkdir /testingground && cd /testingground && \
a=$(curl -s https://api.github.com/repos/aquasecurity/trivy/releases/latest | grep -E "browser_download_url.*" | grep -i "linux" | grep -i "64bit" | grep -i "tar.gz" | grep -vE "sig|pem" | cut -d '"' -f4) && \
wget "$a" -O test.tar.gz && tar -xzf test.tar.gz && \
mv trivy /executables && cd .. && rm -rf testingground
RUN chown -R root:root /opt/executables && chmod 755 /opt/executables/*

FROM golang AS go_builder
RUN mkdir /executables
Expand Down

0 comments on commit 4843cd8

Please sign in to comment.