diff --git a/onyxia-api/Dockerfile b/onyxia-api/Dockerfile index bbd512c6..f8045caa 100644 --- a/onyxia-api/Dockerfile +++ b/onyxia-api/Dockerfile @@ -6,7 +6,11 @@ RUN java -Djarmode=layertools -jar application.jar extract FROM eclipse-temurin:21.0.4_7-jre WORKDIR /app # Install helm -RUN curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | DESIRED_VERSION=v3.16.1 bash +RUN wget https://get.helm.sh/helm-v3.16.1-linux-amd64.tar.gz +RUN tar -zxvf helm-v3.16.1-linux-amd64.tar.gz +RUN mv linux-amd64/helm /usr/local/bin/helm +RUN rm helm-v3.16.1-linux-amd64.tar.gz +RUN rm -rf linux-amd64 RUN groupadd --gid 101 --system onyxia && \ useradd --system --uid 101 --create-home --home-dir /var/cache/onyxia --shell /sbin/nologin --gid onyxia --comment onyxia onyxia # Allow adding CA certificates