From 537abab026000b6470bbd16ebde012e79f9def41 Mon Sep 17 00:00:00 2001 From: Alexander Suter Date: Tue, 23 Jul 2024 12:43:18 +0200 Subject: [PATCH] Use eclipse-temurni-21-jammy image instead of nobel --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3295311..ee1fc73 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ FROM maven:3.9.8-eclipse-temurin-21 -RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg && \ +RUN addgroup --gid 1000 build && adduser --uid 1000 --gid 1000 --disabled-password --gecos "" build && + curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg && \ chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \ echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null && \ apt update && \