Skip to content

Commit 8231934

Browse files
committed
fix order of install of curl
1 parent e19bebd commit 8231934

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ RUN mvn clean package -Dmaven.test.skip=true
1111
# Stage 2: Create the final runtime image
1212
FROM eclipse-temurin:25-jre-jammy AS final
1313

14-
# Install SOPS
15-
RUN curl -L -o /usr/local/bin/sops https://github.com/getsops/sops/releases/download/v3.10.2/sops-v3.10.2.linux.amd64 && \
16-
chmod +x /usr/local/bin/sops
17-
18-
# Install unzip and curl
19-
RUN apt-get update && \
14+
# Install unzip and curl
15+
RUN apt-get update -y && \
2016
apt-get install -y curl unzip && \
2117
rm -rf /var/lib/apt/lists/*
2218

19+
# Install SOPS
20+
RUN curl -L -o /usr/local/bin/sops https://github.com/getsops/sops/releases/download/v3.11.0/sops-v3.11.0.linux.amd64 && \
21+
chmod +x /usr/local/bin/sops
22+
2323
# Install AWS CLI v2
2424
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "/tmp/awscliv2.zip" && \
2525
unzip /tmp/awscliv2.zip -d /tmp && \

0 commit comments

Comments
 (0)