Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
1c75231d
Unverified
Commit
1c75231d
authored
Feb 03, 2019
by
Sergei Morozov
Committed by
GitHub
Feb 03, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3447 from morozov/postgress-11
Replaced custom docker image for PostgreSQL with the official one
parents
7f79d049
0a165b46
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
19 deletions
+2
-19
Dockerfile-postgres11
tests/travis/Dockerfile-postgres11
+0
-15
install-postgres-11.sh
tests/travis/install-postgres-11.sh
+2
-4
No files found.
tests/travis/Dockerfile-postgres11
deleted
100644 → 0
View file @
7f79d049
FROM debian:experimental-20180426
RUN apt-get update && \
apt-get install -y -t experimental --no-install-recommends \
postgresql-11 \
postgresql-client-11 \
&& \
rm -rf /var/lib/apt/lists/*
RUN echo "host all all all trust" >> /etc/postgresql/11/main/pg_hba.conf
RUN echo "listen_addresses='*'" >> /etc/postgresql/11/main/conf.d/listen.conf
EXPOSE 5432
CMD ["sleep", "inf"]
tests/travis/install-postgres-11.sh
View file @
1c75231d
...
@@ -6,9 +6,7 @@ echo "Preparing Postgres 11"
...
@@ -6,9 +6,7 @@ echo "Preparing Postgres 11"
sudo
service postgresql stop
||
true
sudo
service postgresql stop
||
true
sudo
docker build
-t
postgres11 - < tests/travis/Dockerfile-postgres11
sudo
docker run
-d
--name
postgres11
-p
5432:5432 postgres:11.1
sudo
docker run
-d
--name
postgres11
-p
5432:5432 postgres11
sudo
docker
exec
-i
postgres11 bash
<<<
'until pg_isready -U postgres > /dev/null 2>&1 ; do sleep 1; done'
sudo
docker
exec
postgres11 service postgresql start
sudo
docker
exec
-i
postgres11 su
-c
psql postgres
<<<
"create database doctrine_tests"
echo
"Postgres 11 ready"
echo
"Postgres 11 ready"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment