File tree Expand file tree Collapse file tree 16 files changed +59
-26
lines changed Expand file tree Collapse file tree 16 files changed +59
-26
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ ARG CRONTAB=""
2121ENV COMPOSER_MEMORY_LIMIT -1
2222ENV COMPOSER_ALLOW_SUPERUSER ${COMPOSER_ALLOW_SUPERUSER}
2323ENV COMPOSER_HOME ${COMPOSER_HOME}
24+ ENV COMPOSER_CLEAR_CACHE false
2425ENV PHP_MEMORY_LIMIT -1
2526ENV PHP_VALIDATE_TIMESTAMPS 1
2627ENV DEBUG false
@@ -82,9 +83,8 @@ RUN apt-get update \
8283 zip \
8384 && rm -rf /var/lib/apt/lists/*
8485
85- # Install PyYAML
86- RUN pip3 install --upgrade setuptools \
87- && pip3 install pyyaml
86+ # Install Python packages
87+ RUN pip3 install --upgrade setuptools && pip3 install pyyaml
8888
8989# Install Grunt
9090RUN npm install -g grunt-cli
Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ if [ -x "$(command -v ${PHP_EXT_COM_ON})" ] && [ ! -z "${PHP_EXTENSIONS}" ]; the
1717 ${PHP_EXT_COM_ON} ${PHP_EXTENSIONS}
1818fi
1919
20+ # Clear composer cache if needed
21+ [ " $COMPOSER_CLEAR_CACHE " = " true" ] && \
22+ composer clearcache
23+
2024# Configure composer
2125[ ! -z " ${COMPOSER_VERSION} " ] && \
2226 composer self-update $COMPOSER_VERSION
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ ARG CRONTAB=""
2121ENV COMPOSER_MEMORY_LIMIT -1
2222ENV COMPOSER_ALLOW_SUPERUSER ${COMPOSER_ALLOW_SUPERUSER}
2323ENV COMPOSER_HOME ${COMPOSER_HOME}
24+ ENV COMPOSER_CLEAR_CACHE false
2425ENV PHP_MEMORY_LIMIT -1
2526ENV PHP_VALIDATE_TIMESTAMPS 1
2627ENV DEBUG false
@@ -80,9 +81,8 @@ RUN apt-get update \
8081 zip \
8182 && rm -rf /var/lib/apt/lists/*
8283
83- # Install PyYAML
84- RUN pip3 install --upgrade setuptools \
85- && pip3 install pyyaml
84+ # Install Python packages
85+ RUN pip3 install --upgrade setuptools && pip3 install pyyaml
8686
8787# Install Grunt
8888RUN npm install -g grunt-cli
Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ if [ -x "$(command -v ${PHP_EXT_COM_ON})" ] && [ ! -z "${PHP_EXTENSIONS}" ]; the
1717 ${PHP_EXT_COM_ON} ${PHP_EXTENSIONS}
1818fi
1919
20+ # Clear composer cache if needed
21+ [ " $COMPOSER_CLEAR_CACHE " = " true" ] && \
22+ composer clearcache
23+
2024# Configure composer
2125[ ! -z " ${COMPOSER_VERSION} " ] && \
2226 composer self-update $COMPOSER_VERSION
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ ARG CRONTAB=""
2121ENV COMPOSER_MEMORY_LIMIT -1
2222ENV COMPOSER_ALLOW_SUPERUSER ${COMPOSER_ALLOW_SUPERUSER}
2323ENV COMPOSER_HOME ${COMPOSER_HOME}
24+ ENV COMPOSER_CLEAR_CACHE false
2425ENV PHP_MEMORY_LIMIT -1
2526ENV PHP_VALIDATE_TIMESTAMPS 1
2627ENV DEBUG false
@@ -76,9 +77,8 @@ RUN apt-get update \
7677 zip \
7778 && rm -rf /var/lib/apt/lists/*
7879
79- # Install PyYAML
80- RUN pip3 install --upgrade setuptools \
81- && pip3 install pyyaml
80+ # Install Python packages
81+ RUN pip3 install --upgrade setuptools && pip3 install pyyaml
8282
8383# Install Grunt
8484RUN npm install -g grunt-cli
Original file line number Diff line number Diff line change @@ -17,9 +17,12 @@ if [ -x "$(command -v ${PHP_EXT_COM_ON})" ] && [ ! -z "${PHP_EXTENSIONS}" ]; the
1717 ${PHP_EXT_COM_ON} ${PHP_EXTENSIONS}
1818fi
1919
20+ # Clear composer cache if needed
21+ [ " $COMPOSER_CLEAR_CACHE " = " true" ] && \
22+ composer clearcache
23+
2024# Configure composer
2125[ ! -z " ${COMPOSER_VERSION} " ] && \
22- composer clearcache && \
2326 composer self-update $COMPOSER_VERSION
2427
2528[ ! -z " ${COMPOSER_GITHUB_TOKEN} " ] && \
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ ARG CRONTAB=""
2121ENV COMPOSER_MEMORY_LIMIT -1
2222ENV COMPOSER_ALLOW_SUPERUSER ${COMPOSER_ALLOW_SUPERUSER}
2323ENV COMPOSER_HOME ${COMPOSER_HOME}
24+ ENV COMPOSER_CLEAR_CACHE false
2425ENV PHP_MEMORY_LIMIT -1
2526ENV PHP_VALIDATE_TIMESTAMPS 1
2627ENV DEBUG false
@@ -73,9 +74,8 @@ RUN apt-get update \
7374 zip \
7475 && rm -rf /var/lib/apt/lists/*
7576
76- # Install PyYAML
77- RUN pip3 install --upgrade setuptools \
78- && pip3 install pyyaml
77+ # Install Python packages
78+ RUN pip3 install --upgrade setuptools && pip3 install pyyaml
7979
8080# Install Grunt
8181RUN npm install -g grunt-cli
Original file line number Diff line number Diff line change @@ -17,9 +17,12 @@ if [ -x "$(command -v ${PHP_EXT_COM_ON})" ] && [ ! -z "${PHP_EXTENSIONS}" ]; the
1717 ${PHP_EXT_COM_ON} ${PHP_EXTENSIONS}
1818fi
1919
20+ # Clear composer cache if needed
21+ [ " $COMPOSER_CLEAR_CACHE " = " true" ] && \
22+ composer clearcache
23+
2024# Configure composer
2125[ ! -z " ${COMPOSER_VERSION} " ] && \
22- composer clearcache && \
2326 composer self-update $COMPOSER_VERSION
2427
2528[ ! -z " ${COMPOSER_GITHUB_TOKEN} " ] && \
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ ARG CRONTAB=""
2121ENV COMPOSER_MEMORY_LIMIT -1
2222ENV COMPOSER_ALLOW_SUPERUSER ${COMPOSER_ALLOW_SUPERUSER}
2323ENV COMPOSER_HOME ${COMPOSER_HOME}
24+ ENV COMPOSER_CLEAR_CACHE false
2425ENV PHP_MEMORY_LIMIT -1
2526ENV PHP_VALIDATE_TIMESTAMPS 1
2627ENV DEBUG false
@@ -73,9 +74,8 @@ RUN apt-get update \
7374 zip \
7475 && rm -rf /var/lib/apt/lists/*
7576
76- # Install PyYAML
77- RUN pip3 install --upgrade setuptools \
78- && pip3 install pyyaml
77+ # Install Python packages
78+ RUN pip3 install --upgrade setuptools && pip3 install pyyaml
7979
8080# Install Grunt
8181RUN npm install -g grunt-cli
Original file line number Diff line number Diff line change @@ -17,9 +17,12 @@ if [ -x "$(command -v ${PHP_EXT_COM_ON})" ] && [ ! -z "${PHP_EXTENSIONS}" ]; the
1717 ${PHP_EXT_COM_ON} ${PHP_EXTENSIONS}
1818fi
1919
20+ # Clear composer cache if needed
21+ [ " $COMPOSER_CLEAR_CACHE " = " true" ] && \
22+ composer clearcache
23+
2024# Configure composer
2125[ ! -z " ${COMPOSER_VERSION} " ] && \
22- composer clearcache && \
2326 composer self-update $COMPOSER_VERSION
2427
2528[ ! -z " ${COMPOSER_GITHUB_TOKEN} " ] && \
You can’t perform that action at this time.
0 commit comments