docker: add tzdata package, to support TZ env variable
This commit is contained in:
2
.github/workflows/Dockerfile.ci.alpine
vendored
2
.github/workflows/Dockerfile.ci.alpine
vendored
@@ -86,7 +86,7 @@ RUN set -eux; \
|
||||
# verify that the binary works
|
||||
gosu --version; \
|
||||
gosu nobody true
|
||||
RUN apk add --no-cache tini ca-certificates bash && \
|
||||
RUN apk add --no-cache tini ca-certificates bash tzdata && \
|
||||
addgroup -g $GID $USER && \
|
||||
adduser \
|
||||
--disabled-password \
|
||||
|
||||
2
.github/workflows/Dockerfile.ci.debian
vendored
2
.github/workflows/Dockerfile.ci.debian
vendored
@@ -58,7 +58,7 @@ ENV UID=1000
|
||||
ENV GID=1000
|
||||
ENV USER=lldap
|
||||
RUN apt update && \
|
||||
apt install -y --no-install-recommends tini openssl ca-certificates gosu && \
|
||||
apt install -y --no-install-recommends tini openssl ca-certificates gosu tzdata && \
|
||||
apt clean && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
groupadd -g $GID $USER && useradd --system -m -g $USER --uid $UID $USER && \
|
||||
|
||||
Reference in New Issue
Block a user