Skip to content

Commit

Permalink
Add tzdata to docker images to allow setting timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed Nov 1, 2024
1 parent 6ff72b8 commit ba2b98d
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 8 deletions.
1 change: 1 addition & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Client library:

Build:
- Fix Windows builds not having websockets enabled.
- Add tzdata to docker images


2.0.20 - 2024-10-16
Expand Down
4 changes: 3 additions & 1 deletion docker/1.5-openssl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ RUN set -x && \
install -m644 /build/mosq/mosquitto.conf /mosquitto/config/mosquitto.conf && \
chown -R mosquitto:mosquitto /mosquitto && \
apk --no-cache add \
ca-certificates libuuid && \
ca-certificates \
libuuid \
tzdata && \
apk del build-deps && \
rm -rf /build

Expand Down
3 changes: 2 additions & 1 deletion docker/1.5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ RUN set -x && \
apk --no-cache add \
ca-certificates \
libressl \
libuuid && \
libuuid \
tzdata && \
apk del build-deps && \
rm -rf /build

Expand Down
3 changes: 2 additions & 1 deletion docker/1.6-openssl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ RUN set -x && \
install -Dm644 /build/mosq/edl-v10 /usr/share/licenses/mosquitto/edl-v10 && \
chown -R mosquitto:mosquitto /mosquitto && \
apk --no-cache add \
ca-certificates && \
ca-certificates \
tzdata && \
apk del build-deps && \
rm -rf /build

Expand Down
3 changes: 2 additions & 1 deletion docker/1.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ RUN set -x && \
chown -R mosquitto:mosquitto /mosquitto && \
apk --no-cache add \
ca-certificates \
libressl && \
libressl \
tzdata && \
apk del build-deps && \
rm -rf /build

Expand Down
3 changes: 2 additions & 1 deletion docker/2.0-openssl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ RUN set -x && \
chown -R mosquitto:mosquitto /mosquitto && \
apk --no-cache add \
ca-certificates \
cjson && \
cjson \
tzdata && \
apk del build-deps && \
rm -rf /build

Expand Down
3 changes: 2 additions & 1 deletion docker/2.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ RUN set -x && \
apk --no-cache add \
ca-certificates \
cjson \
libressl && \
libressl \
tzdata && \
apk del build-deps && \
rm -rf /build

Expand Down
3 changes: 2 additions & 1 deletion docker/generic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ RUN set -x && \
install -Dm644 /build/mosq/edl-v10 /usr/share/licenses/mosquitto/edl-v10 && \
chown -R mosquitto:mosquitto /mosquitto && \
apk --no-cache add \
ca-certificates && \
ca-certificates \
tzdata && \
apk del build-deps && \
rm -rf /build

Expand Down
3 changes: 2 additions & 1 deletion docker/local/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ RUN set -x && \
install -Dm644 /build/mosq/edl-v10 /usr/share/licenses/mosquitto/edl-v10 && \
chown -R mosquitto:mosquitto /mosquitto && \
apk --no-cache add \
ca-certificates && \
ca-certificates \
tzdata && \
apk del build-deps && \
rm -rf /build

Expand Down

0 comments on commit ba2b98d

Please sign in to comment.