Update docker images

This commit is contained in:
gdarko
2024-01-28 17:52:10 -06:00
parent d02e0b8e83
commit 257cfb30bb
3 changed files with 7 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
FROM php:8.1-fpm
FROM php:8.1-fpm-bookworm
# Arguments defined in docker-compose.yml
ARG user
@@ -8,6 +8,7 @@ ARG uid
RUN apt-get update && apt-get install -y \
git \
curl \
nano \
libpng-dev \
libonig-dev \
libxml2-dev \

View File

@@ -18,7 +18,7 @@ services:
- invoiceshelf
db:
image: mariadb
image: mariadb:10.11
restart: always
volumes:
- db:/var/lib/mysql

View File

@@ -1,10 +1,10 @@
FROM php:8.0-fpm-alpine
FROM php:8.1-fpm-bookworm
RUN apk add --no-cache \
php8-bcmath
RUN apt update && apt install -y cron
RUN docker-php-ext-install pdo pdo_mysql bcmath
COPY docker-compose/crontab /etc/crontabs/root
RUN crontab /etc/crontabs/root
CMD ["crond", "-f"]
CMD ["/usr/sbin/cron", "-f"]