From 5b6251fb3ab12f7f88e145fa7fbbca8d65a10db1 Mon Sep 17 00:00:00 2001 From: Olivier Levitt Date: Tue, 8 Oct 2024 12:11:52 +0200 Subject: [PATCH] WIP --- onyxia-api/Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/onyxia-api/Dockerfile b/onyxia-api/Dockerfile index b7f0eaf7..f8045caa 100644 --- a/onyxia-api/Dockerfile +++ b/onyxia-api/Dockerfile @@ -6,9 +6,11 @@ RUN java -Djarmode=layertools -jar application.jar extract FROM eclipse-temurin:21.0.4_7-jre WORKDIR /app # Install helm -RUN curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 -RUN chmod +x get_helm.sh -RUN DESIRED_VERSION=v3.16.1 ./get_helm.sh +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