Aktualizovat Dockerfile
Build nginx main / Explore-Gitea-Actions (push) Failing after 38s Details

This commit is contained in:
Radim Lipovčan 2023-12-13 22:20:27 +01:00
parent 030a7ffaa1
commit 1d8a20363f
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,8 @@
FROM ubuntu:22.04 as base
ENV PHP_VERSION 8.1
RUN apt-get update && DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata
RUN apt-get update && \
RUN apt-get update && debconf-set-selections <<< "postfix postfix/mailname string your.hostname.com" && \
debconf-set-selections <<< "postfix postfix/main_mailer_type string 'Internet Site'" && \
apt-get install nano python3 python3-pip python3-yaml nginx php8.1 php8.1-fpm php8.1-cli php8.1-common php8.1-curl php8.1-phpdbg php8.1-gd php8.1-odbc php8.1-pgsql php8.1-mbstring php8.1-mysql php8.1-xmlrpc php8.1-opcache php8.1-intl php8.1-bz2 php8.1-xml php8.1-imagick php8.1-pspell php8.1-imap php8.1-gd php8.1-curl php8.1-xmlrpc php8.1-mysql php8.1-cgi php8.1-fpm php8.1-dev php8.1-bcmath php8.1-mbstring php8.1-curl php8.1-dom php8.1-mysql php8.1-zip php8.1-sqlite3 \
libsasl2-modules postfix rsyslog -y && \
rm -rf /var/lib/apt/lists/* \