Update Dockerfile
All checks were successful
Build docker container / Build image (push) Successful in 1m25s

This commit is contained in:
ties 2024-08-29 08:55:34 +00:00
parent 546e72e470
commit d157b334f8

View File

@ -1,7 +1,6 @@
FROM ubuntu:latest@sha256:d35dfc2fe3ef66bcc085ca00d3152b482e6cafb23cdda1864154caf3b19094ba
ENV TZ="Europe/Amdsterdam"
RUN useradd -ms /bin/bash user
RUN apt update
RUN apt install -y curl wget nano jq
RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
@ -11,6 +10,6 @@ RUN chmod +x /usr/bin/yq
COPY createHelmYaml.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/createHelmYaml.sh
USER user
WORKDIR /home/user
USER root
WORKDIR /root/
ENTRYPOINT createHelmYaml.sh