From 4fe45308667fb69dd2bfabc39402fd63ccd7c295 Mon Sep 17 00:00:00 2001 From: briskt <3172830+briskt@users.noreply.github.com> Date: Thu, 29 Feb 2024 08:24:02 -0700 Subject: [PATCH] add ServerName to apache2.conf to silence warning "Could not reliably determine the server's fully qualified domain name" --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e56f3da..b0c934b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM silintl/ubuntu:22.04 LABEL maintainer="jason_jackson@sil.org" -ENV REFRESHED_AT 2022-05-23 +ENV REFRESHED_AT 2024-02-29 ENV HTTPD_PREFIX /etc/apache2 ENV DEBIAN_FRONTEND noninteractive @@ -64,6 +64,8 @@ COPY conf/*.ini /etc/php/8.1/cli/conf.d/ COPY vhost.conf /etc/apache2/sites-enabled/ +RUN echo "ServerName 127.0.0.1" >> /etc/apache2/apache2.conf + EXPOSE 80 # By default, simply start apache.