Skip to content

Commit

Permalink
cleanup Java setup # 2384
Browse files Browse the repository at this point in the history
Java distribution is already contained in pds-base image
  • Loading branch information
sven-dmlr committed Nov 3, 2023
1 parent 4d765b1 commit 4d3c7b6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ USER root
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get --assume-yes upgrade && \
apt-get --assume-yes install dos2unix unzip wget openjdk-17-jre-headless libxml2-utils && \
apt-get --assume-yes install dos2unix unzip wget libxml2-utils && \
apt-get --assume-yes clean

# Install FindSecurityBugs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ COPY pds-config.json "$PDS_FOLDER/pds-config.json"
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get upgrade --assume-yes && \
apt-get install --assume-yes openjdk-17-jre firefox-esr wget && \
apt-get install --assume-yes firefox-esr wget && \
apt-get clean

# Install ZAP
Expand Down
3 changes: 2 additions & 1 deletion sechub-pds-solutions/pds-base/docker/PDS-Debian.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,9 @@ LABEL org.opencontainers.image.title="SecHub PDS Base Image"
LABEL org.opencontainers.image.description="The base image for the SecHub Product Delegation Server (PDS)"
LABEL maintainer="SecHub FOSS Team"

ARG PDS_ARTIFACT_FOLDER
ARG JAVA_DISTRIBUTION
ARG JAVA_VERSION
ARG PDS_ARTIFACT_FOLDER
ARG PDS_VERSION

# env vars in container
Expand Down

0 comments on commit 4d3c7b6

Please sign in to comment.