We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modification items
ARG BUILDPLATFORM=linux/amd64 ARG TARGETPLATFORM ARG ALPINE_VERSION=3.21 ARG PHP_VERSION=8.4.1-alpine${ALPINE_VERSION} ARG COMPOSER_VERSION=2.8.4 ARG SUPERVISORD_VERSION=v0.7.3
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ RUN chmod +x /usr/local/bin/install-php-extensions \ && sed -i 's/E_STRICT/E_ALL/g' /usr/local/lib/php/pearcmd.php \ && pear channel-update pear.php.net \ && install-php-extensions gd bcmath
ENV PHP_BIN=php84 RUN ln -s /usr/bin/${PHP_BIN} /usr/bin/php && \ apk add --update --no-cache \ # PHP ${PHP_BIN} \ # Composer dependencies ${PHP_BIN}-phar \ # PHP SQLite, MySQL/MariaDB & Postgres drivers ${PHP_BIN}-pdo_sqlite ${PHP_BIN}-sqlite3 ${PHP_BIN}-pdo_mysql ${PHP_BIN}-pdo_pgsql ${PHP_BIN}-pgsql \ # PHP extensions ${PHP_BIN}-xml ${PHP_BIN}-gd ${PHP_BIN}-mbstring ${PHP_BIN}-tokenizer ${PHP_BIN}-fileinfo ${PHP_BIN}-bcmath ${PHP_BIN}-ctype ${PHP_BIN}-dom php-redis \ # Runtime dependencies ${PHP_BIN}-session ${PHP_BIN}-openssl \ # Nginx and PHP FPM to serve over HTTP ${PHP_BIN}-fpm nginx # PHP FPM configuration # Change username and ownership in php-fpm pool config RUN sed -i '/user = nobody/d' /etc/${PHP_BIN}/php-fpm.d/www.conf && \ sed -i '/group = nobody/d' /etc/${PHP_BIN}/php-fpm.d/www.conf && \ sed -i '/listen.owner/d' /etc/${PHP_BIN}/php-fpm.d/www.conf && \ sed -i '/listen.group/d' /etc/${PHP_BIN}/php-fpm.d/www.conf RUN mkdir /run/php && \ chown ${UID}:${GID} /run/php /var/log/${PHP_BIN} && \ chmod 700 /run/php /var/log/${PHP_BIN}
https://github.com/Bubka/2FAuth/blob/master/Dockerfile
The text was updated successfully, but these errors were encountered:
Hi, thx for this contribution. The base image will be upgraded on the next 2FAuth release.
Sorry, something went wrong.
No branches or pull requests
Modification items
The text was updated successfully, but these errors were encountered: