switched to php 8.2

This commit is contained in:
damage 2024-06-05 21:47:57 +02:00
parent 3e1935327c
commit 5b5fb7dc15
2 changed files with 6 additions and 6 deletions

View File

@ -1,13 +1,13 @@
FROM ubuntu:20.04
FROM ubuntu:22.04
# setup apt
RUN apt update
# add php ppa and setup apt
RUN apt update && apt -y install software-properties-common && add-apt-repository ppa:ondrej/php
# base php & composer
RUN DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends php-cli composer
RUN DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends php8.2-cli composer
# curl, gd, xml
RUN apt install -y --no-install-recommends php-gd php-xml php-curl
RUN apt install -y --no-install-recommends php8.2-gd php8.2-xml php8.2-curl php8.2-redis php8.2-mbstring php8.2-zip
# change locale
RUN apt install -y locales \

View File

@ -1,6 +1,6 @@
#!/bin/bash
version='7.4'
version='8.2'
docker image build --pull --tag "source.devloop.de/docker/php-cli:${version}-de" .
docker image tag "source.devloop.de/docker/php-cli:${version}-de" "source.devloop.de/docker/php-cli:latest"