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
cd36b047
Unverified
Commit
cd36b047
authored
Jul 07, 2019
by
Sergei Morozov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switched from ibmcom/db2express-c to ibmcom/db2
parent
24170d37
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
install-db2.sh
tests/travis/install-db2.sh
+8
-7
No files found.
tests/travis/install-db2.sh
View file @
cd36b047
...
...
@@ -4,19 +4,20 @@ set -ex
echo
Setting up IBM DB2
sudo
docker pull ibmcom/db2express-c:10.5.0.5-3.10.0
echo
"su - db2inst1 -c 'db2 CONNECT TO doctrine && db2 CREATE USER TEMPORARY TABLESPACE doctrine_tbsp PAGESIZE 4 K'"
>
/tmp/doctrine-init.sh
chmod
+x /tmp/doctrine-init.sh
sudo
docker run
\
-d
\
-p
50000:50000
\
-e
DB2INST1_PASSWORD
=
Doctrine2018
\
-e
LICENSE
=
accept
\
-e
DBNAME
=
doctrine
\
-v
/tmp/doctrine-init.sh:/var/custom/doctrine-init.sh:ro
\
--name
db2
\
ibmcom/db2express-c:10.5.0.5-3.10.0
\
db2start
sleep
15
--privileged
=
true
\
ibmcom/db2:11.5.0.0
sudo
docker
exec
db2 su - db2inst1
-c
\
'db2 CREATE DB doctrine && db2 CONNECT TO doctrine && db2 CREATE USER TEMPORARY TABLESPACE doctrine_tbsp PAGESIZE 4 K'
sudo
docker logs
-f
db2 |
sed
'/(*) Setup has completed./ q'
echo
DB2 started
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