Skip to content

Commit 1f1e589

Browse files
committed
fix: updated to jetty:9.4-jdk17-eclipse-temurin and added milti-architecture support
1 parent 5391ec4 commit 1f1e589

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN wget -O /blazegraph.war https://github.com/blazegraph/database/releases/down
88
unzip /blazegraph.war -d /sdaas
99

1010
### production stage ###
11-
FROM jetty:9.4-jdk16-slim
11+
FROM jetty:9.4-jdk17-eclipse-temurin
1212

1313
LABEL authors="enrico@linkeddata.center"
1414

README.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,9 @@ To persist data and improve performances, you should mount as a fast volume the
7171
To push a new docker image to docker hub:
7272

7373
```
74-
docker login
75-
NAME="linkeddatacenter/sdaas-rdfstore" MAJOR="2" MINOR="2" PATCH="0"
76-
docker build -t $NAME:$MAJOR.$MINOR.$PATCH .
77-
docker tag $NAME:$MAJOR.$MINOR.$PATCH $NAME:$MAJOR.$MINOR
78-
docker tag $NAME:$MAJOR.$MINOR.$PATCH $NAME:$MAJOR
79-
docker tag $NAME:$MAJOR.$MINOR.$PATCH $NAME:latest
80-
docker push $NAME:$MAJOR.$MINOR.$PATCH
81-
docker push $NAME:$MAJOR.$MINOR
82-
docker push $NAME:$MAJOR
83-
docker push $NAME:latest
84-
```
74+
# docker login
75+
# docker buildx create --name multi-arch-builder
76+
77+
NAME="linkeddatacenter/sdaas-rdfstore" MAJOR="2" MINOR="2" PATCH="1"
78+
docker buildx build --builder multi-arch-builder --platform linux/arm64,linux/amd64 --build-arg MODE=prod --push -t $NAME:$MAJOR.$MINOR.$PATCH .
79+
```

0 commit comments

Comments
 (0)