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

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

Set $HOME and run build script.

File size: 491 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 sudo
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.