This commit is contained in:
parent
7c369c8f80
commit
56910a39d5
15
Dockerfile
15
Dockerfile
@ -1,13 +1,14 @@
|
||||
FROM ubuntu:latest
|
||||
ENV TZ="Europe/Amdsterdam"
|
||||
ENV TZ="Europe/Amdsterdam"
|
||||
|
||||
RUN apt update && apt install -y yq kubectl helm curl wget
|
||||
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
|
||||
RUN curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
|
||||
COPY createHelmYaml.sh /usr/local/bin/ && chmod +x /usr/local/bin/createHelmYaml.sh
|
||||
RUN apt update && apt install -y yq kubectl helm curl wget
|
||||
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
|
||||
RUN curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
|
||||
COPY createHelmYaml.sh /usr/local/bin/
|
||||
RUN chmod +x /usr/local/bin/createHelmYaml.sh
|
||||
|
||||
RUN useradd -ms /bin/bash notroot
|
||||
RUN useradd -ms /bin/bash notroot
|
||||
USER notroot
|
||||
WORKDIR /home/newuser
|
||||
|
||||
WORKDIR /home/newuser
|
||||
ENTRYPOINT bash /usr/local/bin/createHelmYaml.sh
|
||||
Loading…
x
Reference in New Issue
Block a user