Skip to content

Commit 95558cf

Browse files
author
Paolo Lim
authored
Upgrade dockerfile to postgresql 11 (#11)
* Upgrade dockerfile to postgresql 11 * travis file to ensure Dockerfile and sql build
1 parent 743c4bc commit 95558cf

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# for caching, see: http://www.scala-sbt.org/0.13/docs/Travis-CI-with-sbt.html
2+
# sudo:false necessary for travis container-based infra, allowing caching
3+
sudo: false
4+
services:
5+
- docker
6+
script:
7+
- docker build .
8+
branches:
9+
only:
10+
- master

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM flowdocker/postgresql:0.0.87
1+
FROM flowdocker/postgresql:0.1.63
22

33
ADD . /opt/schema
44
WORKDIR /opt/schema
@@ -11,4 +11,4 @@ RUN echo "service postgresql stop" >> /opt/run.sh
1111
RUN sh /opt/run.sh
1212

1313
USER "postgres"
14-
CMD ["/usr/lib/postgresql/10/bin/postgres", "-i", "-D", "/var/lib/postgresql/10/main"]
14+
CMD ["/usr/lib/postgresql/11/bin/postgres", "-i", "-D", "/var/lib/postgresql/11/main"]

0 commit comments

Comments
 (0)