commit 9b631ca21f81ee4e19ad457b7f8ab3d303e5e4a5
parent 837a60bd918d4b46e5d43f112581e58b8ed3923a
Author: Andreas Gruhler <agruhl@gmx.ch>
Date: Sat, 22 Nov 2025 10:10:14 +0100
feat(dockerfile): add note for amd64 builds
Diffstat:
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/Dockerfile b/Dockerfile
@@ -5,7 +5,9 @@ RUN git clone https://git.in0rdr.ch/xmpp-compliance-tester.git /build
WORKDIR /build
RUN mvn package
-FROM docker.io/eclipse-temurin:25-jre-alpine
+FROM docker.io/arm64v8/eclipse-temurin:8-jre
+# for amd64 use
+#FROM docker.io/eclipse-temurin:8-jre-alpine
COPY --from=builder /build/target/ComplianceTester-0.2.3.jar ComplianceTester-0.2.3.jar
# XMPP username and password from env
diff --git a/README.md b/README.md
@@ -54,6 +54,9 @@ There is an online version of the ComplianceTester available on [compliance.conv
## Dockerfile
+When building on amd64, change to `docker.io/eclipse-temurin:8-jre-alpine` in
+the Dockerfile.
+
Build
````bash
docker build -t compliance-tester:0.2.3 . --no-cache
@@ -62,4 +65,4 @@ docker build -t compliance-tester:0.2.3 . --no-cache
Run:
```bash
docker run --rm --name=compliance-tester -e XMPP_USER=username@domain.tld -e XMPP_PASSWORD=password compliance-tester:0.2.3
-```
-\ No newline at end of file
+```