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 --- .devcontainer/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '.devcontainer') diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index f51c58cc8..a2c1a2a2b 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -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