docker hub php83 fails, trying php82

This commit is contained in:
the-djmaze 2023-12-31 13:33:31 +01:00
parent f96bb39204
commit 9ebfa94fec

View file

@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1 # syntax=docker/dockerfile:1
FROM alpine:3.18.5 AS builder FROM alpine:3.18.5 AS builder
RUN apk add --no-cache php83 php83-json php-phar php-zip RUN apk add --no-cache php82 php82-json php-phar php-zip
RUN apk add --no-cache npm RUN apk add --no-cache npm
RUN npm install -g gulp yarn RUN npm install -g gulp yarn
WORKDIR /source WORKDIR /source
@ -23,7 +23,7 @@ RUN set -eux; \
rm -v /snappymail/README.md /snappymail/_include.php rm -v /snappymail/README.md /snappymail/_include.php
# Inspired by the original Rainloop dockerfile from youtous on GitLab # Inspired by the original Rainloop dockerfile from youtous on GitLab
FROM php:8.3-fpm-alpine AS final FROM php:8.2-fpm-alpine AS final
LABEL org.label-schema.description="SnappyMail webmail client image using nginx, php-fpm on Alpine" LABEL org.label-schema.description="SnappyMail webmail client image using nginx, php-fpm on Alpine"