Skip to content

Commit

Permalink
[docker] do all the apt installs in one go
Browse files Browse the repository at this point in the history
  • Loading branch information
shish committed Dec 12, 2024
1 parent 662b789 commit b87dc9f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,15 @@ COPY --from=mwader/static-ffmpeg:7.1 /ffmpeg /ffprobe /usr/local/bin/
RUN apt update && \
apt upgrade -y && \
apt install -y --no-install-recommends \
curl rsync imagemagick zip unzip libpq-dev libpng-dev libjpeg-dev libzip-dev libwebp-dev libavif-dev && \
curl rsync imagemagick zip unzip \
libpq-dev \
libzip-dev \
libpng-dev libjpeg-dev libwebp-dev libavif-dev \
libmemcached-dev libssl-dev zlib1g-dev && \
rm -rf /var/lib/apt/lists/*
RUN pecl install redis-6.1.0 && docker-php-ext-enable redis
RUN pecl install apcu-5.1.24 && docker-php-ext-enable apcu
RUN apt-get update && apt-get install -y libmemcached-dev libssl-dev zlib1g-dev && \
pecl install memcached-3.3.0 && docker-php-ext-enable memcached
RUN pecl install memcached-3.3.0 && docker-php-ext-enable memcached
RUN docker-php-ext-configure gd --with-jpeg --with-webp --with-avif && \
docker-php-ext-install gd
RUN docker-php-ext-install mysqli pgsql pdo pdo_mysql pdo_pgsql zip pcntl
Expand Down

0 comments on commit b87dc9f

Please sign in to comment.