summaryrefslogtreecommitdiffstats
path: root/k8s/centos.wagon-builder.dockerfile
blob: aeaec9dc17cc7e486a1caabeec8cb952652956c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM centos/python-36-centos7:latest as cent

# Sometimes it's necessary to set a proxy (e.g. in case of local development).
# To do it just uncomment those two env variables and set appriopriate values for them.
#ENV HTTP_PROXY=
#ENV HTTPS_PROXY=

RUN bash -c "pip install --upgrade pip"
RUN bash -c "pip install wagon"

COPY / k8s/

USER root
RUN bash -c "wagon create -r k8s/requirements.txt k8s/"
RUN bash -c "mkdir output"
RUN bash -c "mv k8splugin*.wgn output/"