diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..afda011b8 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,14 @@ +config.ttl +build +vendor +report +components +plugins/* +composer.phar +composer.lock +tests/jena-fuseki* +.vagrant +.project +.DS_Store +.phpunit.result.cache +.git diff --git a/dockerfiles/Dockerfile.ubuntu b/dockerfiles/Dockerfile.ubuntu index 146fddccb..841e08c97 100644 --- a/dockerfiles/Dockerfile.ubuntu +++ b/dockerfiles/Dockerfile.ubuntu @@ -68,6 +68,9 @@ WORKDIR /var/www/html RUN rm index.html COPY . /var/www/html +RUN curl -sS https://getcomposer.org/installer | php +RUN php composer.phar install --no-dev + # Configure Skosmos COPY dockerfiles/config/config-docker.ttl /var/www/html/config.ttl