-
Notifications
You must be signed in to change notification settings - Fork 19
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 #55 from glo47154/feature/rc-3.0.1
- Fixed multi-website default configuration for Apache + added README section about used domains; - Added `m2d show home` and `m2d show src` to display path to Magento2Docker setup and source folders; - Added rsync to web container; - Removed Adobe internal tools; - Fixed mistyped command in README.md;
- Loading branch information
Showing
4 changed files
with
24 additions
and
12 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 |
---|---|---|
|
@@ -41,6 +41,7 @@ RUN apt-get update \ | |
parallel \ | ||
git \ | ||
mc \ | ||
rsync \ | ||
&& apt-get update \ | ||
&& apt-get clean all | ||
|
||
|
@@ -113,12 +114,6 @@ RUN curl -o /usr/local/bin/m2install.sh https://raw.githubusercontent.com/yvoron | |
&& tar -xf /tmp/teleport.tar.gz -C /tmp/ \ | ||
&& make -C /tmp/teleport/ | ||
|
||
# ADOBE TOOLS: | ||
RUN git ls-remote [email protected]:magento-sparta/ee-support-tools.git 2>&1 | if grep -q HEAD; then git clone [email protected]:magento-sparta/ee-support-tools.git /usr/local/src/ee-support-tools; else echo; fi \ | ||
&& if [ -d /usr/local/src/ee-support-tools ]; then ln -s /usr/local/src/ee-support-tools/cloud-teleport/cloud-teleport /usr/local/bin/cloud-teleport; else echo; fi | ||
RUN git ls-remote [email protected]:magento-sparta/m-it.git 2>&1 | if grep -q HEAD; then git clone [email protected]:magento-sparta/m-it.git /usr/local/src/m-it; else echo; fi \ | ||
&& if [ -d /usr/local/src/m-it ]; then /usr/local/src/m-it/mit-installer.sh; else echo; fi | ||
|
||
# USER CONTEXT CONFIGURATION | ||
USER magento | ||
|
||
|
@@ -136,10 +131,6 @@ RUN echo "source /etc/bash_completion" >> ${_HOME_DIRECTORY}/.bashrc | |
# MAGENTO CLI: | ||
RUN curl -sS https://accounts.magento.cloud/cli/installer | php | ||
|
||
# ADOBE TOOLS: | ||
RUN if [ -d /usr/local/src/m-it ]; then /usr/local/src/m-it/mit-installer.sh; else echo; fi | ||
RUN sed -i.back '/^export BASH_IT_THEME=/ s/^/# /' ${_HOME_DIRECTORY}/.bashrc | ||
|
||
USER root | ||
RUN chown -R "${_USER}:${_USER}" ${_HOME_DIRECTORY}/.gitconfig ${_HOME_DIRECTORY}/.composer ${_HOME_DIRECTORY}/.m2install.conf*; \ | ||
chmod +x /usr/local/bin/* | ||
|
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