From 543fa4e76c1761154801febd08400520b75143e3 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 30 Nov 2022 20:45:40 +0100 Subject: Docker uniform timezone behaviour (#4905) * Docker Alpine timezone for :newest and :oldest Follow-up of https://github.com/FreshRSS/FreshRSS/pull/4903 Forgot the development images Newest and Oldest * Uniform timezone behaviour * shellcheck * A bit more documentation --- Docker/Dockerfile-Alpine | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Docker/Dockerfile-Alpine') diff --git a/Docker/Dockerfile-Alpine b/Docker/Dockerfile-Alpine index 9bc74800e..65c2de6be 100644 --- a/Docker/Dockerfile-Alpine +++ b/Docker/Dockerfile-Alpine @@ -2,10 +2,9 @@ FROM alpine:3.17 ENV TZ UTC SHELL ["/bin/ash", "-eo", "pipefail", "-c"] -RUN apk add --no-cache tzdata && \ - ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN apk add --no-cache \ + tzdata \ apache2 php-apache2 \ php php-curl php-gmp php-intl php-mbstring php-xml php-zip \ php-ctype php-dom php-fileinfo php-iconv php-json php-opcache php-openssl php-phar php-session php-simplexml php-xmlreader php-xmlwriter php-xml php-tokenizer php-zlib \ -- cgit v1.2.3