Skip to content

Commit 26da2a9

Browse files
committed
Fix api service dockerfile (#1372)
1 parent 5480ca6 commit 26da2a9

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99
### Fixed
1010

11+
## [4.12.1] - 2026-03-03
12+
### Fixed
13+
- Fix api service dockerfile ([#1372](https://github.com/opendevstack/ods-core/pull/1372))
14+
1115
## [4.12.0] - 2026-03-02
1216
### Changed
1317
- Improved automatic tests for the quickstarters ([#1362](https://github.com/opendevstack/ods-core/pull/1362))

configuration-sample/ods-core.ods-api-service.env.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# OpenDevStack Api Service Version
66
# See https://github.com/opendevstack/ods-api-service/releases
7-
ODS_API_SERVICE_VERSION=0.0.2
7+
ODS_API_SERVICE_VERSION=v0.0.2
88

99
# JVM configuration
1010
JAVA_OPTS=-Xmx1g -Djavax.net.ssl.trustStore=/home/default/custom-truststore.jks -Djavax.net.ssl.trustStorePassword=changeit

ods-api-service/docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ FROM registry.access.redhat.com/ubi9/openjdk-21-runtime:latest
44
# This applies for version from 2.10 and not below.
55
ENV LOG4J_FORMAT_MSG_NO_LOOKUPS=true
66

7-
ARG ODS_API_SERVICE_VERSION=latest
7+
ARG ODS_API_SERVICE_VERSION
88

9-
RUN curl -L https://github.com/opendevstack/ods-api-service/releases/download/v$ODS_API_SERVICE_VERSION/app.jar -o app.jar
9+
RUN curl -fSL --retry 3 https://github.com/opendevstack/ods-api-service/releases/download/$ODS_API_SERVICE_VERSION/app.jar -o app.jar
1010

1111
# Environment variable for certificate URLs (comma-separated) ENV CERT_URLS="" it is needed to install the certificates
1212
COPY install-certs.sh /opt/install-certs.sh

0 commit comments

Comments
 (0)