update docker

This commit is contained in:
khanh97 2023-12-04 02:24:38 +00:00
parent d738ce62b6
commit c520847df7
1 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,7 @@ FROM alpine:3.18.4
RUN apk update --no-cache
RUN apk add --no-cache \
sudo \
bash \
git \
vim \
@ -30,6 +31,11 @@ RUN apk add --no-cache \
# config httpd.conf
RUN sed -i '/LoadModule rewrite_module/s/^#//g' /etc/apache2/httpd.conf
USER apache
RUN touch /var/log/apache2/access.log
RUN touch /var/log/apache2/error.log
USER root
# Install PHP and extenions
RUN apk add --no-cache \
php81-common \