1
0
mirror of https://github.com/ciromattia/kcc synced 2026-01-04 04:19:38 +00:00

Updated build environment

This commit is contained in:
Paweł Jastrzębski
2017-03-12 15:28:54 +01:00
parent d2c12c89e6
commit 40e1ab4cf3
3 changed files with 17 additions and 35 deletions

View File

@@ -1,14 +1,11 @@
# acidweb/kcc
FROM debian:jessie
FROM debian:stretch
MAINTAINER Paweł Jastrzębski <pawelj@iosphe.re>
ADD ./Build /Build
RUN printf "deb http://httpredir.debian.org/debian stretch main" > /etc/apt/sources.list.d/stretch.list
RUN printf "Package: *\nPin: release a=testing\nPin-Priority: 400\n" > /etc/apt/preferences.d/stretch.pref
RUN apt-get update && apt-get -y dist-upgrade
RUN apt-get -y install build-essential curl ruby ruby-dev libpng-dev libjpeg-dev
RUN apt-get -y -t testing install python3 python3-dev python3-pyqt5
RUN apt-get -y install build-essential curl ruby ruby-dev libpng-dev libjpeg-dev python3 python3-dev python3-pyqt5
RUN curl https://bootstrap.pypa.io/get-pip.py | python3
RUN apt-get clean -y && apt-get autoclean -y && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*