Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
olevitt committed Oct 8, 2024
1 parent 37c21b7 commit 5b6251f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions onyxia-api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5b6251f

Please sign in to comment.