mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-14 05:55:06 +00:00
Up to 1.6.11 on stretch. New manage.py. Some tidying
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
FROM python:2.7-jessie
|
||||
FROM python:2.7-stretch
|
||||
|
||||
RUN apt-get -y update && apt-get install -y mercurial fonts-freefont-ttf survex locales
|
||||
#COPY backports.list /etc/apt/sources.list.d/
|
||||
|
||||
RUN apt-get -y update && apt-get install -y mercurial fonts-freefont-ttf locales survex
|
||||
|
||||
#RUN apt-get -y -t -backports install survex
|
||||
|
||||
# Set the locale
|
||||
RUN locale-gen en_GB.UTF-8
|
||||
@@ -11,8 +15,12 @@ ENV LC_ALL en_GB.UTF-8
|
||||
WORKDIR /opt/expo/troggle
|
||||
COPY requirements.txt .
|
||||
|
||||
RUN pip install --upgrade pip
|
||||
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
WORKDIR /expo/troggle
|
||||
|
||||
#CMD ["python","manage.py","runserver","0.0.0.0:8000"]
|
||||
26
docker/Dockerfile-django-1.5.12-jessie
Normal file
26
docker/Dockerfile-django-1.5.12-jessie
Normal file
@@ -0,0 +1,26 @@
|
||||
FROM python:2.7-jessie
|
||||
|
||||
COPY backports.list /etc/apt/sources.list.d/
|
||||
|
||||
RUN apt-get -y update && apt-get install -y mercurial fonts-freefont-ttf locales
|
||||
|
||||
RUN apt-get -y -t jessie-backports install survex
|
||||
|
||||
# Set the locale
|
||||
RUN locale-gen en_GB.UTF-8
|
||||
ENV LANG en_GB.UTF-8
|
||||
ENV LANGUAGE en_GB:en
|
||||
ENV LC_ALL en_GB.UTF-8
|
||||
|
||||
WORKDIR /opt/expo/troggle
|
||||
COPY requirements.txt .
|
||||
|
||||
RUN pip install --upgrade pip
|
||||
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
WORKDIR /expo/troggle
|
||||
|
||||
#CMD ["python","manage.py","runserver","0.0.0.0:8000"]
|
||||
1
docker/backports.list
Normal file
1
docker/backports.list
Normal file
@@ -0,0 +1 @@
|
||||
deb http://ftp.debian.org/debian jessie-backports main
|
||||
@@ -1,4 +1,4 @@
|
||||
Django==1.5.12
|
||||
Django==1.6.11
|
||||
django-registration==1.0
|
||||
mysql
|
||||
imagekit
|
||||
|
||||
7
docker/requirements.txt.dj-1.5.12
Normal file
7
docker/requirements.txt.dj-1.5.12
Normal file
@@ -0,0 +1,7 @@
|
||||
Django==1.5.12
|
||||
django-registration==1.0
|
||||
mysql
|
||||
imagekit
|
||||
Image
|
||||
django-tinymce==1.5.3
|
||||
smartencoding
|
||||
Reference in New Issue
Block a user