From 2fae3fabdd91d0b660d34e2ef431f62993f04999 Mon Sep 17 00:00:00 2001 From: Fuhu Xia Date: Thu, 16 Jan 2025 10:52:45 -0500 Subject: [PATCH 1/2] apt dist-upgrade --- solr/Dockerfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/solr/Dockerfile b/solr/Dockerfile index 5035ff77..9eb658c3 100644 --- a/solr/Dockerfile +++ b/solr/Dockerfile @@ -8,14 +8,12 @@ USER root ####################### # Add curl to access API routes -RUN apt-get update && apt-get install -y curl vim stunnel4 git +RUN apt-get update && apt dist-upgrade -y && apt-get install -y curl vim stunnel4 git # Install EFS Dependencies -RUN git clone --depth 1 --branch v2.1.0 https://github.com/aws/efs-utils && \ - cd efs-utils && \ - apt-get -y install binutils rustc cargo pkg-config libssl-dev && \ - ./build-deb.sh && \ - apt-get -y install ./build/amazon-efs-utils*deb +RUN apt-get -y install binutils rustc cargo pkg-config libssl-dev +RUN git clone --depth 1 --branch v2.1.0 https://github.com/aws/efs-utils +RUN cd efs-utils && ./build-deb.sh && apt-get -y install ./build/amazon-efs-utils*deb # Install hostname resolution dependencies RUN apt-get install -y dnsutils From 9b54dccd0f4ac21230e3fea9a26782abbb58f01f Mon Sep 17 00:00:00 2001 From: Fuhu Xia Date: Thu, 16 Jan 2025 19:01:55 -0500 Subject: [PATCH 2/2] use apt-get instead of apt to be consistent --- solr/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solr/Dockerfile b/solr/Dockerfile index 9eb658c3..0e1bea1f 100644 --- a/solr/Dockerfile +++ b/solr/Dockerfile @@ -8,7 +8,7 @@ USER root ####################### # Add curl to access API routes -RUN apt-get update && apt dist-upgrade -y && apt-get install -y curl vim stunnel4 git +RUN apt-get update && apt-get dist-upgrade -y && apt-get install -y curl vim stunnel4 git # Install EFS Dependencies RUN apt-get -y install binutils rustc cargo pkg-config libssl-dev