octopod/helm-control-scripts/Dockerfile
Alex-Sizov c8ac911f6b
New control scripts (#108)
* add app and deployment overrides info scripts

* overrides/keys scripts

* add new scripts to the chart config

* archive using scaling

* archive check script + README

* fix timings values + up contolscripts version

* Get rid of kubectl calls

* remove tags

* remove status mode

* rename tag_check to config_check

* remove default values logic, optional name, additional checks at helm init

* bump chart and app version

* add keys sorting

* ingress.host to ingress.hostname hardcode

* add default override for wordpress

* parametrize ingress host key

* add gzip static + etag

* config_check: logs to stderr + proper user notifications

* fix bug with empty value key not being shown

* rename app-env-override and deployment-override cli options

* rename env configuration for octopod
2021-09-29 17:49:36 +03:00

27 lines
1.1 KiB
Docker

FROM alpine:3
ARG HELM_BIN=/utils/helm
ENV HELM_BIN=$HELM_BIN
ADD https://get.helm.sh/helm-v3.6.0-linux-amd64.tar.gz /tmp/helm.tar.gz
RUN tar -xf /tmp/helm.tar.gz -C /tmp &&\
mkdir -p /utils &&\
cp /tmp/linux-amd64/helm $HELM_BIN &&\
chmod +x $HELM_BIN &&\
rm -r /tmp/*
ADD target/x86_64-unknown-linux-musl/release/archive /utils/
ADD target/x86_64-unknown-linux-musl/release/archive_check /utils/
ADD target/x86_64-unknown-linux-musl/release/check /utils/
ADD target/x86_64-unknown-linux-musl/release/cleanup /utils/
ADD target/x86_64-unknown-linux-musl/release/create /utils/
ADD target/x86_64-unknown-linux-musl/release/info /utils/
ADD target/x86_64-unknown-linux-musl/release/update /utils/
ADD target/x86_64-unknown-linux-musl/release/init /utils/
ADD target/x86_64-unknown-linux-musl/release/config_check /utils/
ADD target/x86_64-unknown-linux-musl/release/app_overrides /utils/
ADD target/x86_64-unknown-linux-musl/release/app_keys /utils/
ADD target/x86_64-unknown-linux-musl/release/deployment_overrides /utils/
ADD target/x86_64-unknown-linux-musl/release/deployment_keys /utils/
ADD target/x86_64-unknown-linux-musl/release/unarchive /utils/