forked from ezsystems/ezplatform-ee
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # Dockerfile # composer.json
- Loading branch information
Showing
21 changed files
with
593 additions
and
34 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM busybox | ||
|
||
copy doc/docker/entrypoint/mysql/2_dump.sql /dbdump/ezp.sql | ||
|
||
VOLUME ["/dbdump"] | ||
|
||
|
||
CMD ["/bin/true"] | ||
|
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Note : if you set the environment variable COMPOSE_PROJECT_NAME to a non-default value, you'll need to change the | ||
# image name in here too | ||
FROM docker_app as builder | ||
|
||
RUN composer config extra.symfony-assets-install hard | ||
RUN composer run-script post-install-cmd --no-interaction | ||
|
||
FROM busybox | ||
|
||
COPY --from=builder /var/www /var/www | ||
|
||
WORKDIR /var/www | ||
|
||
# Fix permissions for www-data | ||
RUN chown -R www-data:www-data app/cache app/logs \ | ||
&& find app/cache app/logs -type d -print0 | xargs -0 chmod -R 775 \ | ||
&& find app/cache app/logs -type f -print0 | xargs -0 chmod -R 664 | ||
|
||
VOLUME ["/var/www"] |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM busybox | ||
|
||
COPY ./web/var /var/www/web/var | ||
|
||
WORKDIR /var/www | ||
|
||
# Fix permissions for www-data | ||
RUN chown -R www-data:www-data web/var \ | ||
&& find web/var -type d -print0 | xargs -0 chmod -R 775 \ | ||
&& find web/var -type f -print0 | xargs -0 chmod -R 664 | ||
|
||
VOLUME ["/var/www/web/var"] | ||
|
||
CMD ["/bin/true"] |
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.