

Ĭurrent default time zone: 'America/New_York' 4395 files and directories currently installed.) Get:1 jammy-updates/main amd64 tzdata all 2023c-0ubuntu0.22.04.0 ĭebconf: delaying package configuration, since apt-utils is not installed
#DOCKER UTC TIME ZONE INSTALL#
Step 4/6 : RUN ln -s /usr/share/zoneinfo/America/New_York /etc/localtime & apt-get install tzdata -yĠ upgraded, 1 newly installed, 0 to remove and 2 not upgraded.Īfter this operation, 3867 kB of additional disk space will be used. Step 3/6 : ARG DEBIAN_FRONTEND=noninteractive

Output: Sending build context to Docker daemon 6.144kB RUN ln -s /usr/share/zoneinfo/America/New_York /etc/localtime & apt-get install tzdata -y Which stopped debconf reporting on the missing terminal and also stopped the tzdata installer from opening the locations menu during the Dockerfile build. RUN DEBIAN_FRONTEND=noninteractive apt-get update & apt-get -y \ # And afterwards whatever you like, for example: Taken from Getting tons of debconf messages unless TERM is set to linux #58, I needed to run: RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections Generating locales (this might take a while). On ubuntu22:04 image, I got: Setting up locales (2.34-0ubuntu3). The time zones in which they are located.ġ. Questions will narrow this down by presenting a list of cities, representing Please select the geographic area in which you live. However, we can easily change or re-configure the system-wide timezone in Docker images. For example, if you run the date command in a Docker image, you will see the current time in the UTC timezone. Setting up tzdata (2018i-0ubuntu0.18.04). Most of the time, popular base Docker images like Ubuntu and Alpine are pre-configured to the UTC timezone. 25194 files and directories currently installed.)

Selecting previously unselected package tzdata. Get:1 bionic-updates/main amd64 tzdata all 2018i-0ubuntu0.18.04 ĭebconf: unable to initialize frontend: Dialogĭebconf: (TERM is not set, so the dialog frontend is not usable.)ĭebconf: falling back to frontend: Readlineĭebconf: unable to initialize frontend: Readlineĭebconf: (This frontend requires a controlling tty.)ĭebconf: falling back to frontend: Teletypeĭpkg-preconfigure: unable to re-open stdin: The following NEW packages will be installed:Ġ upgraded, 1 newly installed, 0 to remove and 0 not upgraded.Īfter this operation, 3104 kB of additional disk space will be used.
#DOCKER UTC TIME ZONE HOW TO#
Does anybody know how to solve this problem? Step 25/25 : RUN apt-get install -y tzdata After I provided my input, it hung there. I have the following line in the Dockerfile.
