From 67d32e77401c642a2e697fcb9819045f80216dee Mon Sep 17 00:00:00 2001 From: Tomas Pecka <peckato1@fit.cvut.cz> Date: Tue, 12 Mar 2019 16:47:42 +0100 Subject: [PATCH] OSC: debian to alpine --- osc/Dockerfile | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/osc/Dockerfile b/osc/Dockerfile index 4659b26..431cb08 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 -- GitLab