-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #206 from silinternational/develop
Release 5.3.0 - stream logging
- Loading branch information
Showing
15 changed files
with
396 additions
and
420 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,14 @@ | ||
FROM silintl/php7:7.2 | ||
MAINTAINER Phillip Shipley <[email protected]> | ||
|
||
ENV REFRESHED_AT 2019-05-09 | ||
ENV REFRESHED_AT 2020-04-07 | ||
|
||
RUN apt-get update -y && \ | ||
apt-get install -y php-memcache && \ | ||
apt-get clean | ||
|
||
COPY dockerbuild/vhost.conf /etc/apache2/sites-enabled/ | ||
|
||
RUN mkdir -p /data | ||
|
||
# Copy in syslog config | ||
RUN rm -f /etc/rsyslog.d/* | ||
COPY dockerbuild/rsyslog.conf /etc/rsyslog.conf | ||
|
||
# get s3-expand | ||
RUN curl https://raw.githubusercontent.com/silinternational/s3-expand/1.5/s3-expand -o /usr/local/bin/s3-expand | ||
RUN chmod a+x /usr/local/bin/s3-expand | ||
|
@@ -24,7 +18,7 @@ WORKDIR /data | |
# Install/cleanup composer dependencies | ||
COPY application/composer.json /data/ | ||
COPY application/composer.lock /data/ | ||
RUN composer install --prefer-dist --no-interaction --no-dev --optimize-autoloader | ||
RUN composer install --prefer-dist --no-interaction --no-dev --optimize-autoloader --no-progress | ||
|
||
# It is expected that /data is = application/ in project folder | ||
COPY application/ /data/ | ||
|
@@ -35,6 +29,11 @@ RUN chown -R www-data:www-data \ | |
frontend/runtime/ \ | ||
frontend/web/assets/ | ||
|
||
COPY dockerbuild/vhost.conf /etc/apache2/sites-enabled/ | ||
|
||
# ErrorLog inside a VirtualHost block is ineffective for unknown reasons | ||
RUN sed -i -E 's@ErrorLog .*@ErrorLog /proc/self/fd/2@i' /etc/apache2/apache2.conf | ||
|
||
RUN touch /etc/default/locale | ||
|
||
EXPOSE 80 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.