Tryfix for missing local timezone data

This commit is contained in:
Disassembler 2020-03-14 10:15:40 +01:00
parent 243c8a4542
commit 72a4ea9e5c
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499
3 changed files with 15 additions and 0 deletions

View File

@ -9,6 +9,11 @@ RUN EOF
# Install common packages
apk --no-cache add libbz2 libgcc libressl libstdc++ libxml2 libxslt ncurses-libs pcre readline s6 xz-libs
# Set time zone data
apk --no-cache add tzdata
cp /usr/share/zoneinfo/UTC /etc/localtime
apk --no-cache del tzdata
# Cleanup
rm -rf /etc/crontabs/root /etc/periodic
EOF

View File

@ -9,6 +9,11 @@ RUN EOF
# Install common packages
apk --no-cache add libbz2 libgcc libressl libstdc++ libxml2 libxslt ncurses-libs pcre readline s6 xz-libs
# Set time zone data
apk --no-cache add tzdata
cp /usr/share/zoneinfo/UTC /etc/localtime
apk --no-cache del tzdata
# Cleanup
rm -rf /etc/crontabs/root /etc/periodic
EOF

View File

@ -9,6 +9,11 @@ RUN EOF
# Install common packages
apk --no-cache add libbz2 libgcc libressl libstdc++ libxml2 libxslt ncurses-libs pcre readline s6 xz-libs
# Set time zone data
apk --no-cache add tzdata
cp /usr/share/zoneinfo/UTC /etc/localtime
apk --no-cache del tzdata
# Cleanup
rm -rf /etc/crontabs/root /etc/periodic
EOF