Tryfix for missing local timezone data

This commit is contained in:
Disassembler 2020-03-14 10:15:40 +01:00
parent 243c8a4542
commit 72a4ea9e5c
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
3 changed files with 15 additions and 0 deletions

View File

@ -9,6 +9,11 @@ RUN EOF
# Install common packages # Install common packages
apk --no-cache add libbz2 libgcc libressl libstdc++ libxml2 libxslt ncurses-libs pcre readline s6 xz-libs 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 # Cleanup
rm -rf /etc/crontabs/root /etc/periodic rm -rf /etc/crontabs/root /etc/periodic
EOF EOF

View File

@ -9,6 +9,11 @@ RUN EOF
# Install common packages # Install common packages
apk --no-cache add libbz2 libgcc libressl libstdc++ libxml2 libxslt ncurses-libs pcre readline s6 xz-libs 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 # Cleanup
rm -rf /etc/crontabs/root /etc/periodic rm -rf /etc/crontabs/root /etc/periodic
EOF EOF

View File

@ -9,6 +9,11 @@ RUN EOF
# Install common packages # Install common packages
apk --no-cache add libbz2 libgcc libressl libstdc++ libxml2 libxslt ncurses-libs pcre readline s6 xz-libs 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 # Cleanup
rm -rf /etc/crontabs/root /etc/periodic rm -rf /etc/crontabs/root /etc/periodic
EOF EOF