source: main/waeup.kofa/branches/docker/Dockerfile @ 13313

Last change on this file since 13313 was 13313, checked in by uli, 9 years ago

Install wget.

We should not need it in the long run, because we will retrieve Kofa
sources via local dir, but for now we fetch them from PyPI.

File size: 499 bytes
Line 
1FROM ubuntu:14.04.3
2
3RUN apt-get update && apt-get install -y
4RUN apt-get install -y python2.7-dev libxml2-dev libxslt1-dev python-virtualenv
5RUN apt-get install -y sudo wget
6
7# add user `kofa`
8RUN useradd -ms /bin/bash kofa
9# set password of user `kofa` and add to group 'sudo'
10RUN echo kofa:kofa | chpasswd && adduser kofa sudo
11USER kofa
12WORKDIR /home/kofa
13ENV HOME /home/kofa
14
15# create a virtual env
16RUN virtualenv py27
17COPY build.sh /home/kofa/build.sh
18RUN /home/kofa/build.sh
19
20CMD /bin/bash -i
Note: See TracBrowser for help on using the repository browser.