Skip to content
This repository was archived by the owner on Oct 4, 2022. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions 8.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM php:8.0-rc-cli

# Show all errors
RUN echo error_reporting=E_ALL > $PHP_INI_DIR/conf.d/errors.ini

# Install APT dependencies
RUN apt-get update && \
apt-get install -y --no-install-recommends \
git zlib1g-dev ca-certificates libpng-dev libzip-dev unzip libonig-dev \
&& rm -r /var/lib/apt/lists/*

# Install PHP extensions
RUN docker-php-ext-install zip mbstring pcntl sysvsem sockets gd

# Install composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

ENV COMPOSER_ALLOW_SUPERUSER true
6 changes: 6 additions & 0 deletions generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,14 @@ gen() {
sed -e 's/%%BASE%%/'${BASE}'/g' < Dockerfile.template > ${NAME}/Dockerfile
}

# Regular releases appear like this:
# gen X X
# Release candidates appear like this:
# gen X-rc X

gen 7.0 7.0
gen 7.1 7.1
gen 7.2 7.2
gen 7.3 7.3
gen 7.4 7.4
gen 8.0-rc 8.0