Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions Dockerfile.slim.apache
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@ ENV PHP_VERSION=${PHP_VERSION}
# Install php an other packages
RUN apt update \
&& apt upgrade -y \
&& apt install -y software-properties-common --no-install-recommends \
&& add-apt-repository ppa:ondrej/php \
&& apt remove --purge -y software-properties-common \
&& apt autoremove -y \
&& apt install -y --no-install-recommends curl ca-certificates \
&& curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb \
&& dpkg -i /tmp/debsuryorg-archive-keyring.deb \
&& . /etc/os-release \
&& echo "deb [signed-by=/usr/share/keyrings/debsuryorg-archive-keyring.gpg] https://packages.sury.org/php/ ${VERSION_CODENAME} main" > /etc/apt/sources.list.d/php.list \
&& apt update \
&& apt install -y --no-install-recommends \
nano \
sudo \
Expand Down
10 changes: 6 additions & 4 deletions Dockerfile.slim.cli
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@ ENV PHP_VERSION=${PHP_VERSION}
# Install php an other packages
RUN apt update \
&& apt upgrade -y \
&& apt install -y software-properties-common --no-install-recommends \
&& add-apt-repository ppa:ondrej/php \
&& apt remove --purge -y software-properties-common \
&& apt autoremove -y \
&& apt install -y --no-install-recommends curl ca-certificates \
&& curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb \
&& dpkg -i /tmp/debsuryorg-archive-keyring.deb \
&& . /etc/os-release \
&& echo "deb [signed-by=/usr/share/keyrings/debsuryorg-archive-keyring.gpg] https://packages.sury.org/php/ ${VERSION_CODENAME} main" > /etc/apt/sources.list.d/php.list \
&& apt update \
&& apt install -y --no-install-recommends \
nano \
sudo \
Expand Down
10 changes: 6 additions & 4 deletions Dockerfile.slim.fpm
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@ ENV PHP_VERSION=${PHP_VERSION}
# Install php an other packages
RUN apt update \
&& apt upgrade -y \
&& apt install -y software-properties-common --no-install-recommends \
&& add-apt-repository ppa:ondrej/php \
&& apt remove --purge -y software-properties-common \
&& apt autoremove -y \
&& apt install -y --no-install-recommends curl ca-certificates \
&& curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb \
&& dpkg -i /tmp/debsuryorg-archive-keyring.deb \
&& . /etc/os-release \
&& echo "deb [signed-by=/usr/share/keyrings/debsuryorg-archive-keyring.gpg] https://packages.sury.org/php/ ${VERSION_CODENAME} main" > /etc/apt/sources.list.d/php.list \
&& apt update \
&& apt install -y --no-install-recommends \
nano \
sudo \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Images of non-maintained versions are still available but no longer receive fixe

## Usage

The images are based on Ubuntu 24.04, with PHP from the [ondrej/php](https://launchpad.net/~ondrej/+archive/ubuntu/php) repository.
The images are based on Ubuntu 24.04, with PHP from the [Ondřej Surý's PHP repository](https://packages.sury.org/php/).

Example with CLI:

Expand Down
10 changes: 6 additions & 4 deletions utils/Dockerfile.slim.blueprint
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@ ENV PHP_VERSION=${PHP_VERSION}
# Install php an other packages
RUN apt update \
&& apt upgrade -y \
&& apt install -y software-properties-common --no-install-recommends \
&& add-apt-repository ppa:ondrej/php \
&& apt remove --purge -y software-properties-common \
&& apt autoremove -y \
&& apt install -y --no-install-recommends curl ca-certificates \
&& curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb \
&& dpkg -i /tmp/debsuryorg-archive-keyring.deb \
&& . /etc/os-release \
&& echo "deb [signed-by=/usr/share/keyrings/debsuryorg-archive-keyring.gpg] https://packages.sury.org/php/ ${VERSION_CODENAME} main" > /etc/apt/sources.list.d/php.list \
&& apt update \
&& apt install -y --no-install-recommends \
nano \
sudo \
Expand Down
2 changes: 1 addition & 1 deletion utils/README.blueprint.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Images of non-maintained versions are still available but no longer receive fixe

## Usage

The images are based on Ubuntu 24.04, with PHP from the [ondrej/php](https://launchpad.net/~ondrej/+archive/ubuntu/php) repository.
The images are based on Ubuntu 24.04, with PHP from the [Ondřej Surý's PHP repository](https://packages.sury.org/php/).

Example with CLI:

Expand Down