Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Docker
.dockerignore
Dockerfile
docker-compose.yml

.npm
.phpunit.result.cache
coverage
vendor
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ coverage/*
.phpunit.result.cache
**/test-results/*
firebird-common
vendor
*.sw?
19 changes: 2 additions & 17 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,17 @@ LABEL org.opencontainers.image.source https://github.com/hathitrust/catalog

RUN apt-get update && apt-get install -y \
curl \
msmtp-mta \
bsd-mailx \
php-curl \
php-fpm \
php-gd \
php-http \
php-ldap \
php-mbstring \
php-mysql \
php-pear \
php-raphf \
php-xdebug \
php-xml \
php-yaml \
smarty3
smarty3 \
composer

# Actual stuff installed on bullseye for ht-web-preview

RUN curl -O https://phar.phpunit.de/phpunit-9.6.11.phar
RUN chmod +x phpunit-9.6.11.phar && mv phpunit-9.6.11.phar /usr/local/bin/phpunit

RUN pear channel-update pear.php.net && pear install \
File_MARC \
HTTP_Request2 \
Pager

# Default PHP config:
# -> class { 'php::apache_config':
#
Expand Down
10 changes: 10 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"require": {
"geoip2/geoip2": "2.13.*",
"pear/pear-core-minimal": "1.10.*",
"pear/file_marc": "1.4.*",
"pear/http_request2": "2.7.*",
"pear/pager": "2.5.*",
"phpunit/phpunit": "9.6.*"
}
}
Loading