diff --git a/osc/Dockerfile b/osc/Dockerfile index 4659b2675bef77c7890470adaf4bd277f06fe567..431cb08969e3e6658feea2696ee60c2f4b6dc839 100644 --- a/osc/Dockerfile +++ b/osc/Dockerfile @@ -1,11 +1,9 @@ -FROM bitnami/minideb:stretch +FROM alpine:3.9 - -RUN install_packages python python-pip python-setuptools python-dev gcc libcurl4-openssl-dev libssl1.0-dev -RUN pip install wheel +RUN apk add \ + python python-dev py2-pip swig \ + g++ curl curl-dev bash tar git +RUN pip install wheel six RUN pip install build-service-osc pycurl -RUN ln -s /usr/local/bin/osc-wrapper.py /usr/bin/osc -RUN apt-get remove --purge -y gcc -RUN apt-get -y autoremove - -CMD bash +RUN ln -s /usr/bin/osc-wrapper.py /usr/bin/osc +RUN apk del g++ curl-dev swig python3-dev