Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerignore location change #118

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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
5 changes: 3 additions & 2 deletions scripts/drupal-migrate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ curl -s https://raw.githubusercontent.com/wunderio/drupal-project/master/silta/s
curl -s https://raw.githubusercontent.com/wunderio/drupal-project/master/silta/silta-prod.yml > silta/silta-prod.yml

echo "Adding dockerignore files"
curl -s https://raw.githubusercontent.com/wunderio/drupal-project/master/.dockerignore > .dockerignore
curl -s https://raw.githubusercontent.com/wunderio/drupal-project/master/web/.dockerignore > web/.dockerignore
curl -s https://raw.githubusercontent.com/wunderio/drupal-project/master/silta/nginx.Dockerfile.dockerignore > silta/nginx.Dockerfile.dockerignore
curl -s https://raw.githubusercontent.com/wunderio/drupal-project/master/silta/php.Dockerfile.dockerignore > silta/php.Dockerfile.dockerignore
curl -s https://raw.githubusercontent.com/wunderio/drupal-project/master/silta/shell.Dockerfile.dockerignore > silta/shell.Dockerfile.dockerignore

if [ ! -f phpcs.xml ]; then
echo "Adding our standard phpcs.xml"
Expand Down
5 changes: 3 additions & 2 deletions scripts/drupal7-migrate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,9 @@ curl -s https://raw.githubusercontent.com/wunderio/drupal-project/master/silta/s
curl -s https://raw.githubusercontent.com/wunderio/drupal-project/master/silta/silta-prod.yml > silta/silta-prod.yml

echo "Adding dockerignore files"
curl -s https://raw.githubusercontent.com/wunderio/drupal-project/master/.dockerignore > .dockerignore
curl -s https://raw.githubusercontent.com/wunderio/drupal-project/master/web/.dockerignore > web/.dockerignore
curl -s https://raw.githubusercontent.com/wunderio/drupal-project/master/silta/nginx.Dockerfile.dockerignore > silta/nginx.Dockerfile.dockerignore
curl -s https://raw.githubusercontent.com/wunderio/drupal-project/master/silta/php.Dockerfile.dockerignore > silta/php.Dockerfile.dockerignore
curl -s https://raw.githubusercontent.com/wunderio/drupal-project/master/silta/shell.Dockerfile.dockerignore > silta/shell.Dockerfile.dockerignore

echo "Updating settings.php"
if ! grep -q "settings.silta.php" web/sites/default/settings.php
Expand Down
Loading