Skip to content

Commit

Permalink
Add OpenJDK 11 (#19)
Browse files Browse the repository at this point in the history
* Add OpenJDK 11
* Bump Trivy version
  • Loading branch information
gnadaban authored Feb 28, 2022
1 parent 32a5c52 commit 0f68862
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libunwind8 \
lsb-release \
netcat \
openjdk-11-jre-headless=11.0.13\* \
python3 \
python3-pip \
python3-venv \
Expand Down Expand Up @@ -82,7 +83,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& apt-get install wget apt-transport-https gnupg lsb-release \
&& wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | apt-key add - \
&& echo deb https://aquasecurity.github.io/trivy-repo/deb $(lsb_release -sc) main | tee -a /etc/apt/sources.list.d/trivy.list \
&& apt-get update && apt-get install trivy=0.22.\* \
&& apt-get update && apt-get install trivy=0.24.\* \
# Give Vault the ability to use the mlock syscall without running the process as root. The mlock syscall prevents memory from being swapped to disk.
# Explanation: https://github.com/hashicorp/vault/issues/10048#issuecomment-700779263
&& setcap cap_ipc_lock= /usr/bin/vault \
Expand Down

0 comments on commit 0f68862

Please sign in to comment.