Files
docker_php_83/Dockerfile
groot 1e2488f055
Some checks failed
release-tag / release-image (push) Failing after 14s
Dockerfile aktualisiert
2024-12-10 08:35:07 +00:00

73 lines
1.8 KiB
Docker

FROM alpine:latest
RUN apk update && apk upgrade
RUN apk add bash
RUN apk add autoconf
RUN apk add automake
RUN apk add make
RUN apk add gcc
RUN apk add g++
RUN apk add nginx
RUN apk add redis
RUN apk add php83
RUN apk add php83-fpm
RUN apk add php83-opcache
RUN apk add php83-gd
RUN apk add php83-zlib
RUN apk add php83-curl
RUN apk add php83-bz2
RUN apk add php83-bcmath
RUN apk add php83-exif
RUN apk add php83-fileinfo
RUN apk add php83-iconv
RUN apk add php83-imap
RUN apk add php83-intl
RUN apk add php83-ldap
RUN apk add php83-mbstring
RUN apk add php83-mysqli
RUN apk add php83-odbc
RUN apk add php83-pdo
RUN apk add php83-pdo_mysql
RUN apk add php83-pdo_odbc
RUN apk add php83-pdo_pgsql
RUN apk add php83-pdo_sqlite
RUN apk add php83-pdo_dblib
RUN apk add php83-pear
RUN apk add php83-pecl-imagick
RUN apk add php83-pecl-memcache
RUN apk add php83-pecl-memcached
RUN apk add php83-pecl-mongodb
RUN apk add php83-pecl-redis
RUN apk add php83-pecl-smbclient
RUN apk add php83-pecl-ssh2
RUN apk add php83-pecl-xdebug
RUN apk add php83-pecl-yaml
RUN apk add php83-pgsql
RUN apk add php83-phar
RUN apk add php83-phpdbg
RUN apk add php83-session
RUN apk add php83-simplexml
RUN apk add php83-snmp
RUN apk add php83-soap
RUN apk add php83-sockets
RUN apk add php83-sodium
RUN apk add php83-sqlite3
RUN apk add php83-sysvmsg
RUN apk add php83-tidy
RUN apk add php83-xml
RUN apk add php83-xmlreader
RUN apk add php83-xmlwriter
RUN apk add php83-xsl
RUN apk add php83-zip
RUN apk add php83-ctype
RUN apk add php83-tokenizer
COPY server/etc/nginx /etc/nginx
COPY server/etc/php /etc/php83
COPY server/etc/redis/redis.conf /etc/redis.conf
COPY src /usr/share/nginx/html
RUN mkdir /var/run/php
EXPOSE 80
EXPOSE 443
EXPOSE 6379
EXPOSE 9000
STOPSIGNAL SIGTERM
CMD ["/bin/bash", "-c", "chmod 755 /usr/share/nginx/html && php-fpm83 && nginx -g 'daemon off;' && redis-server /etc/redis.conf"]