Last change
on this file since 13599 was
13326,
checked in by uli, 9 years ago
|
Install additional packages before buildout.
libssl and libffi are needed for proper pip SSL-Downloads. We get
nasty security warnings otherwise.
git is needed to checkout the modified sphinx variant. We should get
rid of this, as it means a lot MB more to download/install/store.
|
File size:
836 bytes
|
Line | |
---|
1 | FROM ubuntu:14.04.3 |
---|
2 | |
---|
3 | RUN apt-get update && apt-get install -y |
---|
4 | RUN apt-get install -y python2.7-dev libxml2-dev libxslt1-dev \ |
---|
5 | zlib1g-dev python-virtualenv |
---|
6 | # see https://urllib3.readthedocs.org/en/latest/security.html#openssl-pyopenssl |
---|
7 | RUN apt-get install -y libssl-dev libffi-dev |
---|
8 | RUN apt-get install -y sudo wget git |
---|
9 | |
---|
10 | # add user `kofa` |
---|
11 | RUN useradd -ms /bin/bash kofa |
---|
12 | # set password of user `kofa` and add to group 'sudo' |
---|
13 | RUN echo kofa:kofa | chpasswd && adduser kofa sudo |
---|
14 | USER kofa |
---|
15 | WORKDIR /home/kofa |
---|
16 | ENV HOME /home/kofa |
---|
17 | |
---|
18 | # get sources |
---|
19 | RUN wget https://pypi.python.org/packages/source/w/waeup.kofa/waeup.kofa-1.3.3.tar.gz && tar -xzf waeup.kofa-1.3.3.tar.gz |
---|
20 | RUN mv waeup.kofa-1.3.3 waeup.kofa |
---|
21 | |
---|
22 | # create a virtual env |
---|
23 | RUN virtualenv py27 |
---|
24 | COPY build.sh /home/kofa/build.sh |
---|
25 | RUN /home/kofa/build.sh |
---|
26 | |
---|
27 | CMD /bin/bash -i |
---|
Note: See
TracBrowser for help on using the repository browser.