From 890f86830b2391d6433d0eec3ae0777b3f9634fd Mon Sep 17 00:00:00 2001 From: Erik Jaegervall Date: Wed, 15 Nov 2023 16:05:41 +0100 Subject: [PATCH] Add RISCV Docker build --- .github/workflows/kuksa-client.yml | 2 ++ kuksa-client/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/kuksa-client.yml b/.github/workflows/kuksa-client.yml index 903c0b2..444dff5 100644 --- a/.github/workflows/kuksa-client.yml +++ b/.github/workflows/kuksa-client.yml @@ -84,6 +84,7 @@ jobs: platforms: | linux/amd64 linux/arm64 + linux/riscv64 context: . file: kuksa-client/Dockerfile push: true @@ -98,6 +99,7 @@ jobs: platforms: | linux/amd64 linux/arm64 + linux/riscv64 context: . file: kuksa-client/Dockerfile push: true diff --git a/kuksa-client/Dockerfile b/kuksa-client/Dockerfile index d44eb42..bcf78c4 100644 --- a/kuksa-client/Dockerfile +++ b/kuksa-client/Dockerfile @@ -33,7 +33,7 @@ RUN pyinstaller --collect-data kuksa_certificates --collect-data kuksa_client - # Debian slim versions # For development add :debug like this # FROM gcr.io/distroless/base-debian12:debug to get a busybox shell as well -FROM gcr.io/distroless/base-debian12 +FROM python:3.10-slim-bookworm COPY --from=build /dist/kuksa-client /kuksa-client