FROM ubuntu:latest@sha256:6fee4abc5fe6a21f40022199b2d5063eb591743c80d3d2f5fadf620a98cbae0d
ENV  TZ="Europe/Amsterdam"

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
RUN  curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
RUN  wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq 
RUN  chmod +x /usr/bin/yq
COPY *.sh /usr/local/bin/
RUN  chmod +x /usr/local/bin/*.sh

USER root
WORKDIR /root/
ENTRYPOINT createHelmYaml.sh