Skip to content

Commit

Permalink
2 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanq16 authored May 15, 2024
1 parent 7edf60c commit 9f5703c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion security_docker_arm/builder.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ RUN mkdir /testingground && cd /testingground && \
a=$(curl -s https://api.github.com/repos/mikefarah/yq/releases/latest | grep -E "browser_download_url.*" | grep -i "linux" | grep -i "arm64" | grep -v "tar.gz" | cut -d '"' -f4) && \
wget "$a" && mv yq_linux_arm64 /executables/yq && cd .. && rm -rf testingground
RUN mkdir /testingground && cd /testingground && \
a=$(curl -s https://api.github.com/repos/fullstorydev/grpcurl/releases/latest | grep -E "browser_download_url.*" | grep -i "linux" | grep -i "arm64" | cut -d '"' -f4) && \
a=$(curl -s https://api.github.com/repos/fullstorydev/grpcurl/releases/latest | grep -E "browser_download_url.*" | grep -i "linux" | grep -i "arm64" | grep "tar.gz" | cut -d '"' -f4) && \
wget "$a" -O test.tar.gz && tar -xzf test.tar.gz && \
mv grpcurl /executables && cd .. && rm -rf testingground
RUN mkdir /testingground && cd /testingground && \
Expand Down
2 changes: 1 addition & 1 deletion security_docker_main/builder.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ RUN mkdir /testingground && cd /testingground && \
a=$(curl -s https://api.github.com/repos/mikefarah/yq/releases/latest | grep -E "browser_download_url.*" | grep -i "linux" | grep -i "amd64" | grep -v "tar.gz" | cut -d '"' -f4) && \
wget "$a" && mv yq_linux_amd64 /executables/yq && cd .. && rm -rf testingground
RUN mkdir /testingground && cd /testingground && \
a=$(curl -s https://api.github.com/repos/fullstorydev/grpcurl/releases/latest | grep -E "browser_download_url.*" | grep -i "linux" | grep -i "x86_64" | cut -d '"' -f4) && \
a=$(curl -s https://api.github.com/repos/fullstorydev/grpcurl/releases/latest | grep -E "browser_download_url.*" | grep -i "linux" | grep -i "x86_64" | grep "tar.gz" | cut -d '"' -f4) && \
wget "$a" -O test.tar.gz && tar -xzf test.tar.gz && \
mv grpcurl /executables && cd .. && rm -rf testingground
RUN mkdir /testingground && cd /testingground && \
Expand Down

0 comments on commit 9f5703c

Please sign in to comment.