Re-compact docker run steps.
This commit is contained in:
parent
6baad66467
commit
767c08abd4
1 changed files with 8 additions and 8 deletions
|
|
@ -8,9 +8,8 @@ RUN echo "APT::Acquire::Retries \"5\";" > /etc/apt/apt.conf.d/80-retries && \
|
||||||
echo "Acquire::http::No-Cache=true;" > /etc/apt/apt.conf.d/80-no-cache && \
|
echo "Acquire::http::No-Cache=true;" > /etc/apt/apt.conf.d/80-no-cache && \
|
||||||
echo "Acquire::http::Pipeline-Depth=0;" > /etc/apt/apt.conf.d/80-no-pipeline && \
|
echo "Acquire::http::Pipeline-Depth=0;" > /etc/apt/apt.conf.d/80-no-pipeline && \
|
||||||
apt-get -qq update && \
|
apt-get -qq update && \
|
||||||
apt-get -yqq upgrade
|
apt-get -yqq upgrade && \
|
||||||
|
apt-get -yqq install --no-install-recommends \
|
||||||
RUN apt-get -yqq install --no-install-recommends \
|
|
||||||
nano \
|
nano \
|
||||||
curl \
|
curl \
|
||||||
xz-utils \
|
xz-utils \
|
||||||
|
|
@ -18,9 +17,10 @@ RUN apt-get -yqq install --no-install-recommends \
|
||||||
runit \
|
runit \
|
||||||
python3-software-properties \
|
python3-software-properties \
|
||||||
software-properties-common \
|
software-properties-common \
|
||||||
add-apt-key
|
add-apt-key \
|
||||||
RUN add-apt-repository ppa:ondrej/php
|
&& \
|
||||||
RUN apt-get -qq update && \
|
add-apt-repository ppa:ondrej/php && \
|
||||||
|
apt-get -qq update && \
|
||||||
apt-get -yqq install --no-install-recommends \
|
apt-get -yqq install --no-install-recommends \
|
||||||
#php8.1-apcu \
|
#php8.1-apcu \
|
||||||
php8.1-bcmath \
|
php8.1-bcmath \
|
||||||
|
|
@ -41,8 +41,8 @@ RUN apt-get -qq update && \
|
||||||
&& \
|
&& \
|
||||||
apt-get autoremove -yqq && \
|
apt-get autoremove -yqq && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/lib/dpkg/status.old /var/cache/debconf/templates.dat /var/log/dpkg.log /var/log/lastlog /var/log/apt/*.log
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/lib/dpkg/status.old /var/cache/debconf/templates.dat /var/log/dpkg.log /var/log/lastlog /var/log/apt/*.log && \
|
||||||
RUN curl https://getcomposer.org/composer-stable.phar --output /usr/local/bin/composer && \
|
curl https://getcomposer.org/composer-stable.phar --output /usr/local/bin/composer && \
|
||||||
chmod +x /usr/local/bin/composer
|
chmod +x /usr/local/bin/composer
|
||||||
COPY start.sh /usr/local/bin/start.sh
|
COPY start.sh /usr/local/bin/start.sh
|
||||||
COPY mysql.runit /etc/service/mysql/run
|
COPY mysql.runit /etc/service/mysql/run
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue