Skip to content

Commit

Permalink
chore: Jena (5.0.0), JDK and Alpine upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
jachro committed Mar 22, 2024
1 parent 3fad462 commit a276a51
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@

## This Dockefile builds a reduced footprint container.

ARG ALPINE_VERSION=3.18.4
ARG JDK_VERSION=21.0.1_12
ARG JENA_VERSION="4.10.0"
ARG ALPINE_VERSION=3.19.1
ARG JDK_VERSION=21.0.2_13
ARG JENA_VERSION="5.0.0"
ARG JVM_ARGS="-Xmx2048m -Xms2048m"

# Internal, passed between stages.
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ This project builds Docker image and a helm chart for chosen version of [Fuseki
## Building docker image

The Docker image building process takes the following arguments:
`JENA_VERSION` defaulted to `4.10.0`
`OPENJDK_VERSION` defaulted to `17`
`ALPINE_VERSION` defaulted to `3.18.2`
`JENA_VERSION` defaulted to `5.0.0`
`JDK_VERSION` defaulted to `21.0.2_13`
`ALPINE_VERSION` defaulted to `3.19.1`

To build the Docker image manually the following command can be used:
```
docker build --force-rm --build-arg JENA_VERSION=4.10.0 -t fuseki .
docker build --force-rm --build-arg JENA_VERSION=5.0.0 -t fuseki .
```

It's possible to build the image for `linux/amd64` and `linux/arm64` platforms.

In the case the image will be run on a `linux/amd64` platform but building happens on a platform with different architecture,
the docker build command could look like follows:
```
docker buildx build --platform linux/amd64 --force-rm --build-arg JENA_VERSION=4.10.0 -t fuseki .
docker buildx build --platform linux/amd64 --force-rm --build-arg JENA_VERSION=5.0.0 -t fuseki .
```

## Running docker image
Expand Down
2 changes: 1 addition & 1 deletion chartpress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ charts:
dockerfilePath: Dockerfile
valuesPath: image
buildArgs:
JENA_VERSION: "4.10.0"
JENA_VERSION: "5.0.0"
4 changes: 2 additions & 2 deletions renku-jena/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ description: A Helm chart for Kubernetes
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.23
version: 0.0.24

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "4.10.0"
appVersion: "5.0.0"
2 changes: 1 addition & 1 deletion renku-jena/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ image:
repository: renku/renku-jena
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: '0.0.23'
tag: '0.0.24'

imagePullSecrets: []
nameOverride: ""
Expand Down

0 comments on commit a276a51

Please sign in to comment.