Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit 1ad3c86

Browse files
authored
docker-build-httpd: set non-interactive timezone (#467)
The docker-build-httpd test was stuck at a prompt during the building of the Dockerfile because tzdata (a dependent package) was prompting to set the timezone.
1 parent 14c10c8 commit 1ad3c86

File tree

1 file changed

+3
-0
lines changed
  • tests/docker-build-httpd/files/ubuntu_httpd

1 file changed

+3
-0
lines changed

tests/docker-build-httpd/files/ubuntu_httpd/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ ENV container docker
88

99
COPY Dockerfile /root/
1010

11+
ARG DEBIAN_FRONTEND=noninteractive
12+
ENV TZ=America/New_York
13+
1114
RUN apt-get update && \
1215
apt-get -y install apache2 && \
1316
apt-get clean

0 commit comments

Comments
 (0)