Skip to content

Commit

Permalink
add the missing composer stuff LOL
Browse files Browse the repository at this point in the history
  • Loading branch information
kawaii committed Jun 23, 2018
1 parent 019c072 commit 8a46843
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ RUN set -ex; \
git \
vim \
curl \
patch
patch \
unzip

RUN set -ex; \
\
Expand All @@ -26,7 +27,7 @@ RUN set -ex; \
; \
\
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
docker-php-ext-install -j$(nproc) gd mysqli opcache pgsql; \
docker-php-ext-install -j$(nproc) gd mysqli opcache pgsql zip; \
\
pecl channel-update pecl.php.net; \
pecl install memcached xdebug; \
Expand Down
2 changes: 2 additions & 0 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ if ! [ -e index.php -a -e inc/class_core.php ]; then
chmod 777 cache/ cache/themes/ uploads/ uploads/avatars/
chmod 666 inc/languages/english/*.php inc/languages/english/admin/*.php
chmod 777 cache/ cache/themes/ uploads/ uploads/avatars/ admin/backups/
curl -sS https://getcomposer.org/installer | php \
&& php composer.phar install --no-suggest --optimize-autoloader
fi

exec "$@"

0 comments on commit 8a46843

Please sign in to comment.