From 7c46de1206a3fab1025be2b19f6fc36c5e863713 Mon Sep 17 00:00:00 2001 From: Chalapala RaghavendraReddy Date: Thu, 29 Aug 2024 11:49:59 +0530 Subject: [PATCH] removed command --- Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 435cf72a..3cd6b42a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,10 +20,9 @@ RUN apt-get update && \ apt-get -y install --no-install-recommends git && \ apt-get -y install --no-install-recommends maven && \ apt-get -y install --no-install-recommends curl && \ - apt-get -y install --no-install-recommends dpkg-dev && \ - apt-get remove -y python3.11 && \ + apt-get -y install --no-install-recommends dpkg-dev && \ curl -o openjdk-17-jre-headless_17.0.9+9-1~deb12u1_amd64.deb https://snapshot.debian.org/archive/debian-security/20231105T195436Z/pool/updates/main/o/openjdk-17/openjdk-17-jre-headless_17.0.9+9-1~deb12u1_amd64.deb && \ - dpkg -i openjdk-17-jre-headless_17.0.9+9-1~deb12u1_amd64.deb && \ + dpkg -i openjdk-17-jre-headless_17.0.9+9-1~deb12u1_amd64.deb && \ curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /opt/DebianImageClearing v0.90.0 && \ rm -rf /var/lib/apt/lists/* && \ rm -rf archive.tar.gz @@ -31,5 +30,5 @@ RUN apt-get update && \ ENV PATH="/root/.local/bin:$PATH" # Copying files from host to current working directory -#COPY /out/net8.0 /app/out -COPY /buildoutput/ /app/out +COPY /out/net8.0 /app/out +# COPY /buildoutput/ /app/out