Skip to content

Commit

Permalink
[#70] add memory for composer install
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Calef committed Mar 2, 2021
1 parent 1ecd500 commit 779e12d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion provision/010-system-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ if ! grep -qF "LANG" /home/vagrant/.bashrc; then
fi

# Required packages
rm -rf /etc/apt/sources.list.d/* && apt-get update -y && apt-get install -y \
rm -rf /etc/apt/sources.list.d/*
apt-get update -y && apt-get install -y \
curl graphviz htop net-tools rsync sudo tree wget unzip zip g++ gnupg2 \
libsqlite3-dev libxml2-utils build-essential software-properties-common \
postfix mailutils libsasl2-2 libsasl2-modules ca-certificates libnss3-tools \
Expand Down
2 changes: 1 addition & 1 deletion provision/110-magento-app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ else
fi

# Composer install
sudo -u vagrant composer install -d "$PROJECT_BUILD" --no-progress --no-interaction --no-suggest
sudo -u vagrant COMPOSER_MEMORY_LIMIT=-1 composer install -d "$PROJECT_BUILD" --no-progress --no-interaction --no-suggest

# Rsync directory
if [ "$PROJECT_BUILD" != "$PROJECT_PATH" ]; then
Expand Down

0 comments on commit 779e12d

Please sign in to comment.