Now stuff is installed in the container instead of the image

This commit is contained in:
eroncero
2025-08-05 15:41:26 +02:00
parent 8df5735249
commit 0e9c43d34d
12 changed files with 55 additions and 37 deletions

View File

@@ -4,7 +4,7 @@ apt-get update
BUILDTIME_PHP_VER_INST="8.2"
apt-get install -y \
apt-get install -y --download-only \
php$BUILDTIME_PHP_VER_INST-fpm \
php$BUILDTIME_PHP_VER_INST-bcmath \
php$BUILDTIME_PHP_VER_INST-bz2 \

View File

@@ -1,4 +0,0 @@
#!/bin/sh
mkdir -p /tmp/buildtime/etc/php
mv /etc/php/* /tmp/buildtime/etc/php/

View File

@@ -1,7 +1,7 @@
#!/bin/sh
# To add this repository please do:
apt-get -y install lsb-release ca-certificates curl
apt-get install lsb-release ca-certificates curl -y
curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb
dpkg -i /tmp/debsuryorg-archive-keyring.deb
sh -c 'echo "deb [signed-by=/usr/share/keyrings/debsuryorg-archive-keyring.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'