diff --git a/Dockerfile b/Dockerfile index e1f08e4..e9e164f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ No newline at end of file