Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply a Trivy suggestion #627

Merged
merged 1 commit into from
Nov 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cloud-tool/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ LABEL description="Automation for John the Ripper (1.0.Cloud Tools)"

ENV HC_DOWNLOAD_SHA256="cafb01beac341bf2a9ba89793e6dd2468110291adfbb6c62ed11a0cde6c09029"

ADD https://apt.releases.hashicorp.com/gpg gpg.key
COPY https://apt.releases.hashicorp.com/gpg /gpg.key

SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN apt-get update -qq \
&& export DEBIAN_FRONTEND="noninteractive" \
&& apt-get install -y --no-install-recommends \
ca-certificates=* git=* gnupg=* nano=* software-properties-common=* \
&& echo "$HC_DOWNLOAD_SHA256 gpg.key" | sha256sum -c - \
&& gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg < gpg.key \
&& echo "$HC_DOWNLOAD_SHA256 /gpg.key" | sha256sum -c - \
&& gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg < /gpg.key \
&& echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | \
tee /etc/apt/sources.list.d/hashicorp.list \
&& apt-add-repository --yes --update ppa:ansible/ansible \
Expand Down
Loading