File tree Expand file tree Collapse file tree
template/Dockerfile/images Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,6 +51,9 @@ RUN rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm \
5151 && pecl install imagick \
5252 # && pecl install redis \
5353 && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer \
54+ # Cleanup
55+ && yum erase -y php-devel gcc \
56+ && yum clean all \
5457 && /opt/docker/bin/provision run --tag bootstrap --role webdevops-php \
5558 && /opt/docker/bin/bootstrap.sh
5659
Original file line number Diff line number Diff line change @@ -55,6 +55,9 @@ RUN /usr/local/bin/yum-install \
5555 && pear config-set auto_discover 1 \
5656 && pecl install imagick \
5757 && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer \
58+ # Cleanup
59+ && yum erase -y php-devel gcc \
60+ && yum clean all \
5861 && /opt/docker/bin/provision run --tag bootstrap --role webdevops-php \
5962 && /opt/docker/bin/bootstrap.sh
6063
Original file line number Diff line number Diff line change @@ -101,6 +101,9 @@ RUN /usr/local/bin/yum-install \
101101 && pear config-set auto_discover 1 \
102102 && pecl install imagick \
103103 && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer \
104+ # Cleanup
105+ && yum erase -y php-devel gcc \
106+ && yum clean all \
104107 {{ provision.runRoleInline('php', role) }}
105108{% - endmacro %}
106109
@@ -140,6 +143,9 @@ RUN rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm \
140143 && pecl install imagick \
141144 # && pecl install redis \
142145 && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer \
146+ # Cleanup
147+ && yum erase -y php-devel gcc \
148+ && yum clean all \
143149 {{ provision.runRoleInline('php', role) }}
144150{% - endmacro %}
145151
You can’t perform that action at this time.
0 commit comments