Skip to content
Snippets Groups Projects
Commit 767ff172 authored by Lennart Kramer's avatar Lennart Kramer
Browse files

prepare docker image

parent 94c93805
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ build_webservice:
- ./build.sh ${REGISTRY}
test_maxima:
image: moodlehq/moodle-php-apache:7.3
image: "$REGISTRY/moodle-ci-stack"
stage: test_maxima
services:
- postgres:latest
......
#!/bin/bash
apt-get update -y && apt-get install -y git-core postgresql-client texinfo maxima maxima-share
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
. $HOME/.nvm/nvm.sh
nvm install 14
nvm use 14
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
composer create-project -n --no-dev --prefer-dist blackboard-open-source/moodle-plugin-ci ci ^2
export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH"
chmod u+x ci/bin/moodle-plugin-ci
chmod u+x ci/bin/*
umask u+x
git clone --branch "$QSTACK_VERSION" https://github.com/maths/moodle-qtype_stack
moodle-plugin-ci add-plugin maths/moodle-qbehaviour_dfexplicitvaildate
moodle-plugin-ci add-plugin maths/moodle-qbehaviour_dfcbmexplicitvaildate
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment