mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 21:38:54 +00:00
22 lines
776 B
Bash
Executable file
22 lines
776 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# Ensure the github oauth token is set
|
|
docker run \
|
|
--user $(id -u):$(id -g) \
|
|
--volume ${WORKING_DIR}:/data \
|
|
--volume ${COMPOSER_HOME}:/composer/ \
|
|
--workdir /data \
|
|
phpbb/build${IMAGES_TAG} sh -c "COMPOSER_HOME=/composer php composer.phar config -g github-oauth.github.com ${GITHUB_TOKEN}"
|
|
|
|
docker run \
|
|
--user $(id -u):$(id -g) \
|
|
--volume ${WORKING_DIR}:/data \
|
|
--volume ${COMPOSER_HOME}:/composer/ \
|
|
--workdir /data \
|
|
phpbb/build${IMAGES_TAG} sh -c 'cd phpBB; COMPOSER_HOME=/composer php ../composer.phar install --dev'
|
|
|
|
docker run \
|
|
--user $(id -u):$(id -g) \
|
|
--volume ${WORKING_DIR}:/data \
|
|
--workdir /data \
|
|
phpbb/build${IMAGES_TAG} sh -c 'cd build; ../phpBB/vendor/bin/phing clean prepare'
|