This repository has been archived by the owner on May 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
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 #217 from damien-carcel/issue-216
Issue 216: Remove "carcel/akeneo-behat"
- Loading branch information
Showing
17 changed files
with
62 additions
and
132 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM carcel/apache-php:php-5.6 | ||
MAINTAINER Damien Carcel <damien.carcel@gmail.com> | ||
|
||
# Define "root" as current user | ||
USER root | ||
|
||
# Add some utilities | ||
COPY files/pim-assets.sh /usr/local/bin/pim-assets | ||
COPY files/pim-initialize.sh /usr/local/bin/pim-initialize | ||
COPY files/pim-cac.sh /usr/local/bin/pim-cac | ||
RUN chmod +x /usr/local/bin/* | ||
|
||
# Disable default VHOST | ||
RUN a2dissite 000-default.conf | ||
|
||
# Add additional ports for VHOSTs | ||
COPY files/additional-ports.conf /etc/apache2/conf-available/additional-ports.conf | ||
RUN a2enconf additional-ports | ||
EXPOSE 81 444 | ||
|
||
# Add Akeneo VHOSTs | ||
COPY files/akeneo.dev.conf /etc/apache2/sites-available/akeneo.dev.conf | ||
COPY files/akeneo-behat.dev.conf /etc/apache2/sites-available/akeneo-behat.dev.conf | ||
|
||
# Enable Akeneo VHOSTs | ||
RUN a2ensite akeneo.dev.conf && a2ensite akeneo-behat.dev.conf | ||
|
||
# Define "docker" as current user | ||
USER docker |
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 @@ | ||
Listen 81 | ||
|
||
<IfModule ssl_module> | ||
Listen 444 | ||
</IfModule> | ||
|
||
<IfModule mod_gnutls.c> | ||
Listen 444 | ||
</IfModule> |
2 changes: 1 addition & 1 deletion
2
akeneo-behat/files/akeneo-behat.dev.conf → akeneo-apache/files/akeneo-behat.dev.conf
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,4 +1,4 @@ | ||
<VirtualHost *:80> | ||
<VirtualHost *:81> | ||
ServerName akeneo-behat.dev | ||
|
||
RewriteEngine On | ||
|
File renamed without changes.
3 changes: 1 addition & 2 deletions
3
akeneo/files/pim-assets.sh → akeneo-apache/files/pim-assets.sh
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,8 +1,9 @@ | ||
#!/bin/bash | ||
|
||
echo "Clean cache folder" | ||
rm -rf app/cache/prod | ||
rm -rf app/cache/dev | ||
rm -rf app/cache/* | ||
|
||
app/console ca:c -e=prod | ||
app/console ca:c -e=test | ||
app/console ca:c -e=behat | ||
app/console ca:c |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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