Update Dockerfile
All checks were successful
Build docker container / Build image (push) Successful in 26s
All checks were successful
Build docker container / Build image (push) Successful in 26s
This commit is contained in:
parent
f8b98ac733
commit
114c248a5d
@ -1,6 +1,7 @@
|
|||||||
FROM ubuntu:latest
|
FROM ubuntu:latest
|
||||||
ENV TZ="Europe/Amdsterdam"
|
ENV TZ="Europe/Amdsterdam"
|
||||||
|
|
||||||
|
RUN useradd -ms /bin/bash user
|
||||||
RUN apt update
|
RUN apt update
|
||||||
RUN apt install -y yq curl wget
|
RUN apt install -y yq 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 -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
|
||||||
@ -8,7 +9,5 @@ RUN curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 |
|
|||||||
COPY createHelmYaml.sh /usr/local/bin/
|
COPY createHelmYaml.sh /usr/local/bin/
|
||||||
RUN chmod +x /usr/local/bin/createHelmYaml.sh
|
RUN chmod +x /usr/local/bin/createHelmYaml.sh
|
||||||
|
|
||||||
RUN useradd -ms /bin/bash user
|
|
||||||
USER user
|
USER user
|
||||||
|
|
||||||
ENTRYPOINT bash /usr/local/bin/createHelmYaml.sh
|
ENTRYPOINT bash /usr/local/bin/createHelmYaml.sh
|
||||||
Loading…
x
Reference in New Issue
Block a user