Skip to content

Commit a537fdb

Browse files
committed
Update Dockerfile curl
1 parent 3c77490 commit a537fdb

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ RUN mvn -Pprod -DskipTests=true clean package spring-boot:repackage
1616

1717
FROM eclipse-temurin:25.0.1_8-jre
1818

19+
RUN apt-get update && apt-get install -y curl
20+
1921
# expose server port
2022
EXPOSE 8080
2123

2224
# download script for reading Docker secrets
23-
RUN curl -o /tmp/read-secrets.sh "https://raw.githubusercontent.com/HSLdevcom/jore4-tools/main/docker/read-secrets.sh"
25+
ADD https://raw.githubusercontent.com/HSLdevcom/jore4-tools/main/docker/read-secrets.sh /tmp/read-secrets.sh
2426

2527
# copy over helper scripts
2628
COPY ./script/build-jdbc-urls.sh /tmp/

0 commit comments

Comments
 (0)