Added kubectl and helm to image
This commit is contained in:
parent
31157fe4af
commit
5d4e2d4e65
@ -9,11 +9,14 @@ ENV LANG='en_US.UTF-8' \
|
||||
|
||||
RUN apk update && \
|
||||
apk -U upgrade --ignore alpine-baselayout && \
|
||||
apk -U add python3 gcc py3-pip python3-dev musl-dev libffi-dev git && \
|
||||
apk -U add python3 gcc py3-pip python3-dev musl-dev libffi-dev git curl && \
|
||||
adduser -D python && \
|
||||
mkdir /data && cd /data && git clone --single-branch --branch master https://git.ervine.org/jonny/flask-python-helm /data && \
|
||||
pip3 install -r /data/requirements.txt && \
|
||||
rm -rf /tmp/src && rm -rf /var/cache/apk/*
|
||||
curl -L "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl" -o /usr/local/bin/kubetl && \
|
||||
curl -L https://get.helm.sh/helm-v2.13.1-linux-amd64.tar.gz -o /tmp/helm-2.13.1.tgz && tar zxf /tmp/helm-2.13.1.tgz && \
|
||||
mv /linux-amd64/helm /usr/local/bin/helm-2.13.1 && chmod 755 /usr/local/bin/* && \
|
||||
rm -rf /tmp/src && rm -rf /var/cache/apk/* && rm -rf /linux-amd64
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user