add update of packages and change docker builder to buildx

This commit is contained in:
2023-04-21 19:48:01 +02:00
parent 2d2ae6ce9d
commit 55a14c4d38
2 changed files with 50 additions and 2 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
FROM ubuntu:rolling
FROM ubuntu:latest
ENV TZ=Europe/Vienna
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update && apt-get install -y software-properties-common && apt-add-repository universe && add-apt-repository ppa:ondrej/php
RUN apt-get update && apt-get update -y && apt-get install -y software-properties-common && apt-add-repository universe && add-apt-repository ppa:ondrej/php
RUN apt-get update && apt-get install -y apache2 php8.0 libapache2-mod-php8.0 php8.0-mysql apt-utils tzdata nano && apt-get clean
ENV APACHE_RUN_USER www-data