This commit is contained in:
parent
bf121a1ce7
commit
00475b5133
|
|
@ -1,4 +1,4 @@
|
||||||
FROM ubuntu:24.10
|
FROM ubuntu:24.04
|
||||||
COPY ./scripts/* /home/
|
COPY ./scripts/* /home/
|
||||||
ENV PHP_IDE_CONFIG='serverName=php'
|
ENV PHP_IDE_CONFIG='serverName=php'
|
||||||
RUN sh /home/install_ubuntu.sh
|
RUN sh /home/install_ubuntu.sh
|
||||||
|
|
@ -1,11 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
sed -i -r 's/([a-z]{2}.)?archive.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
|
|
||||||
sed -i -r 's/security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
|
|
||||||
apt update
|
apt update
|
||||||
DEBIAN_FRONTEND=noninteractive apt -y install tzdata
|
DEBIAN_FRONTEND=noninteractive apt -y install tzdata
|
||||||
apt install php-cli \
|
DEBIAN_FRONTEND=noninteractive apt -y install php-cli
|
||||||
php-redis \
|
DEBIAN_FRONTEND=noninteractive apt -y install php-redis \
|
||||||
php-luasandbox \
|
php-luasandbox \
|
||||||
php-fpm \
|
php-fpm \
|
||||||
php-common \
|
php-common \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue