Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
KLUGLUG
Blood Service Portal
Commits
b3177598
Commit
b3177598
authored
Sep 05, 2019
by
rama chandra
Browse files
Add new file
parent
5ce220a1
Pipeline
#33228
failed with stage
in 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ci/docker_install.sh
0 → 100644
View file @
b3177598
#!/bin/bash
# We need to install dependencies only for Docker
[[
!
-e
/.dockerenv
]]
&&
exit
0
set
-xe
# Install git (the php image doesn't have it) which is required by composer
apt-get update
-yqq
apt-get
install
git
-yqq
# Install phpunit, the tool that we will use for testing
curl
--location
--output
/usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar
chmod
+x /usr/local/bin/phpunit
# Install mysql driver
# Here you can install any other extension that you need
docker-php-ext-install pdo_mysql
\ No newline at end of file
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