Skip to content

Commit

Permalink
fix docker base
Browse files Browse the repository at this point in the history
  • Loading branch information
Xusifob committed Feb 3, 2025
1 parent 725daae commit 655d95d
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions docker/apache/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,12 @@ ARG PHP_VERSION=8.3

FROM php:${PHP_VERSION}-apache-bookworm AS rpps-base

ENV DEBIAN_FRONTEND=noninteractive
ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update --fix-missing
RUN apt-get install -y curl nano unzip
RUN apt-get install -y build-essential libssl-dev zlib1g-dev libpng-dev libjpeg-dev libfreetype6-dev libzip-dev

RUN apt-get update && apt-get install -y \
libfreetype6-dev \
libjpeg62-turbo-dev \
libpng-dev \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-install -j$(nproc) gd \
&& apt-get purge -y libfreetype6-dev libjpeg62-turbo-dev libpng-dev

RUN apt-get update \
&& apt-get install -y \
libicu-dev \
Expand Down

0 comments on commit 655d95d

Please sign in to comment.