summaryrefslogtreecommitdiffstats
path: root/k8s/centos.wagon-builder.dockerfile
blob: 401c1a5b2bf8b277da3df5f8a47825c91a80b6c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM centos/python-27-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/"