Commit 82855c6ad9fe9435eaade5067dfe593e81615147
1 parent
ef77a138
Exists in
master
and in
20 other branches
dockerfile: update debian image to jessie
Also run sample-data to populate database.
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
config/docker/dev/Dockerfile
@@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
2 | # | 2 | # |
3 | # VERSION 0.0.1 | 3 | # VERSION 0.0.1 |
4 | 4 | ||
5 | -FROM debian:wheezy | 5 | +FROM debian:jessie |
6 | MAINTAINER Noosfero Development Team <noosfero-dev@listas.softwarelivre.org> | 6 | MAINTAINER Noosfero Development Team <noosfero-dev@listas.softwarelivre.org> |
7 | 7 | ||
8 | LABEL Description="This dockerfile builds a noosfero development environment." | 8 | LABEL Description="This dockerfile builds a noosfero development environment." |
@@ -13,4 +13,6 @@ RUN git clone --depth 1 https://gitlab.com/noosfero/noosfero.git . | @@ -13,4 +13,6 @@ RUN git clone --depth 1 https://gitlab.com/noosfero/noosfero.git . | ||
13 | 13 | ||
14 | RUN sh script/quick-start --skip-translations | 14 | RUN sh script/quick-start --skip-translations |
15 | 15 | ||
16 | +RUN service postgresql start && sleep 2 && ruby script/sample-data | ||
17 | + | ||
16 | EXPOSE 3000 | 18 | EXPOSE 3000 |