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=""
21
21
ENV COMPOSER_MEMORY_LIMIT -1
22
22
ENV COMPOSER_ALLOW_SUPERUSER ${COMPOSER_ALLOW_SUPERUSER}
23
23
ENV COMPOSER_HOME ${COMPOSER_HOME}
24
+ ENV COMPOSER_CLEAR_CACHE false
24
25
ENV PHP_MEMORY_LIMIT -1
25
26
ENV PHP_VALIDATE_TIMESTAMPS 1
26
27
ENV DEBUG false
@@ -82,9 +83,8 @@ RUN apt-get update \
82
83
zip \
83
84
&& rm -rf /var/lib/apt/lists/*
84
85
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
88
88
89
89
# Install Grunt
90
90
RUN 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
17
17
${PHP_EXT_COM_ON} ${PHP_EXTENSIONS}
18
18
fi
19
19
20
+ # Clear composer cache if needed
21
+ [ " $COMPOSER_CLEAR_CACHE " = " true" ] && \
22
+ composer clearcache
23
+
20
24
# Configure composer
21
25
[ ! -z " ${COMPOSER_VERSION} " ] && \
22
26
composer self-update $COMPOSER_VERSION
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ ARG CRONTAB=""
21
21
ENV COMPOSER_MEMORY_LIMIT -1
22
22
ENV COMPOSER_ALLOW_SUPERUSER ${COMPOSER_ALLOW_SUPERUSER}
23
23
ENV COMPOSER_HOME ${COMPOSER_HOME}
24
+ ENV COMPOSER_CLEAR_CACHE false
24
25
ENV PHP_MEMORY_LIMIT -1
25
26
ENV PHP_VALIDATE_TIMESTAMPS 1
26
27
ENV DEBUG false
@@ -80,9 +81,8 @@ RUN apt-get update \
80
81
zip \
81
82
&& rm -rf /var/lib/apt/lists/*
82
83
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
86
86
87
87
# Install Grunt
88
88
RUN 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
17
17
${PHP_EXT_COM_ON} ${PHP_EXTENSIONS}
18
18
fi
19
19
20
+ # Clear composer cache if needed
21
+ [ " $COMPOSER_CLEAR_CACHE " = " true" ] && \
22
+ composer clearcache
23
+
20
24
# Configure composer
21
25
[ ! -z " ${COMPOSER_VERSION} " ] && \
22
26
composer self-update $COMPOSER_VERSION
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ ARG CRONTAB=""
21
21
ENV COMPOSER_MEMORY_LIMIT -1
22
22
ENV COMPOSER_ALLOW_SUPERUSER ${COMPOSER_ALLOW_SUPERUSER}
23
23
ENV COMPOSER_HOME ${COMPOSER_HOME}
24
+ ENV COMPOSER_CLEAR_CACHE false
24
25
ENV PHP_MEMORY_LIMIT -1
25
26
ENV PHP_VALIDATE_TIMESTAMPS 1
26
27
ENV DEBUG false
@@ -76,9 +77,8 @@ RUN apt-get update \
76
77
zip \
77
78
&& rm -rf /var/lib/apt/lists/*
78
79
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
82
82
83
83
# Install Grunt
84
84
RUN 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
17
17
${PHP_EXT_COM_ON} ${PHP_EXTENSIONS}
18
18
fi
19
19
20
+ # Clear composer cache if needed
21
+ [ " $COMPOSER_CLEAR_CACHE " = " true" ] && \
22
+ composer clearcache
23
+
20
24
# Configure composer
21
25
[ ! -z " ${COMPOSER_VERSION} " ] && \
22
- composer clearcache && \
23
26
composer self-update $COMPOSER_VERSION
24
27
25
28
[ ! -z " ${COMPOSER_GITHUB_TOKEN} " ] && \
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ ARG CRONTAB=""
21
21
ENV COMPOSER_MEMORY_LIMIT -1
22
22
ENV COMPOSER_ALLOW_SUPERUSER ${COMPOSER_ALLOW_SUPERUSER}
23
23
ENV COMPOSER_HOME ${COMPOSER_HOME}
24
+ ENV COMPOSER_CLEAR_CACHE false
24
25
ENV PHP_MEMORY_LIMIT -1
25
26
ENV PHP_VALIDATE_TIMESTAMPS 1
26
27
ENV DEBUG false
@@ -73,9 +74,8 @@ RUN apt-get update \
73
74
zip \
74
75
&& rm -rf /var/lib/apt/lists/*
75
76
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
79
79
80
80
# Install Grunt
81
81
RUN 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
17
17
${PHP_EXT_COM_ON} ${PHP_EXTENSIONS}
18
18
fi
19
19
20
+ # Clear composer cache if needed
21
+ [ " $COMPOSER_CLEAR_CACHE " = " true" ] && \
22
+ composer clearcache
23
+
20
24
# Configure composer
21
25
[ ! -z " ${COMPOSER_VERSION} " ] && \
22
- composer clearcache && \
23
26
composer self-update $COMPOSER_VERSION
24
27
25
28
[ ! -z " ${COMPOSER_GITHUB_TOKEN} " ] && \
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ ARG CRONTAB=""
21
21
ENV COMPOSER_MEMORY_LIMIT -1
22
22
ENV COMPOSER_ALLOW_SUPERUSER ${COMPOSER_ALLOW_SUPERUSER}
23
23
ENV COMPOSER_HOME ${COMPOSER_HOME}
24
+ ENV COMPOSER_CLEAR_CACHE false
24
25
ENV PHP_MEMORY_LIMIT -1
25
26
ENV PHP_VALIDATE_TIMESTAMPS 1
26
27
ENV DEBUG false
@@ -73,9 +74,8 @@ RUN apt-get update \
73
74
zip \
74
75
&& rm -rf /var/lib/apt/lists/*
75
76
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
79
79
80
80
# Install Grunt
81
81
RUN 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
17
17
${PHP_EXT_COM_ON} ${PHP_EXTENSIONS}
18
18
fi
19
19
20
+ # Clear composer cache if needed
21
+ [ " $COMPOSER_CLEAR_CACHE " = " true" ] && \
22
+ composer clearcache
23
+
20
24
# Configure composer
21
25
[ ! -z " ${COMPOSER_VERSION} " ] && \
22
- composer clearcache && \
23
26
composer self-update $COMPOSER_VERSION
24
27
25
28
[ ! -z " ${COMPOSER_GITHUB_TOKEN} " ] && \
You can’t perform that action at this time.
0 commit comments