File tree Expand file tree Collapse file tree 5 files changed +14
-3
lines changed Expand file tree Collapse file tree 5 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 14
14
echo "**** install build packages ****" && \
15
15
apk add --no-cache \
16
16
alpine-release \
17
- curl && \
17
+ curl \
18
+ tzdata && \
18
19
if [ -z ${HAPROXY_VERSION+x} ]; then \
19
20
HAPROXY_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
20
21
&& awk '/^P:haproxy$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://' ); \
Original file line number Diff line number Diff line change 14
14
echo "**** install build packages ****" && \
15
15
apk add --no-cache \
16
16
alpine-release \
17
- curl && \
17
+ curl \
18
+ tzdata && \
18
19
if [ -z ${HAPROXY_VERSION+x} ]; then \
19
20
HAPROXY_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
20
21
&& awk '/^P:haproxy$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
Original file line number Diff line number Diff line change 14
14
echo "**** install build packages ****" && \
15
15
apk add --no-cache \
16
16
alpine-release \
17
- curl && \
17
+ curl \
18
+ tzdata && \
18
19
if [ -z ${HAPROXY_VERSION+x} ]; then \
19
20
HAPROXY_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
20
21
&& awk '/^P:haproxy$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
Original file line number Diff line number Diff line change @@ -108,6 +108,7 @@ services:
108
108
- SWARM=0 # optional
109
109
- SYSTEM=0 # optional
110
110
- TASKS=0 # optional
111
+ - TZ=Etc/UTC # optional
111
112
- VERSION=1 # optional
112
113
- VOLUMES=0 # optional
113
114
volumes :
@@ -149,6 +150,7 @@ docker run -d \
149
150
-e SWARM=0 `#optional` \
150
151
-e SYSTEM=0 `#optional` \
151
152
-e TASKS=0 `#optional` \
153
+ -e TZ=Etc/UTC `#optional` \
152
154
-e VERSION=1 `#optional` \
153
155
-e VOLUMES=0 `#optional` \
154
156
-v /var/run/docker.sock:/var/run/docker.sock:ro \
@@ -190,6 +192,7 @@ Containers are configured using parameters passed at runtime (such as those abov
190
192
| ` -e SWARM=0 ` | ` /swarm ` |
191
193
| ` -e SYSTEM=0 ` | ` /system ` |
192
194
| ` -e TASKS=0 ` | ` /tasks ` |
195
+ | ` -e TZ=Etc/UTC ` | ` Set container timezone ` |
193
196
| ` -e VERSION=1 ` | ` /version ` |
194
197
| ` -e VOLUMES=0 ` | ` /volumes ` |
195
198
| ` -v /var/run/docker.sock:ro ` | Mount the host docker socket into the container. |
@@ -316,6 +319,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
316
319
317
320
## Versions
318
321
322
+ * ** 19.08.25:** - Add tzdata for localised logging timestamps.
319
323
* ** 03.06.25:** - Rebase to Alpine 3.22. Add RISCV support.
320
324
* ** 08.04.25:** - Add ` LOG_LEVEL ` back.
321
325
* ** 06.04.25:** - Switch back to haproxy for better handling of ` docker exec ` connection hijacking.
Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ full_custom_readme: |
115
115
- SWARM=0 #optional
116
116
- SYSTEM=0 #optional
117
117
- TASKS=0 #optional
118
+ - TZ=Etc/UTC #optional
118
119
- VERSION=1 #optional
119
120
- VOLUMES=0 #optional
120
121
volumes:
@@ -156,6 +157,7 @@ full_custom_readme: |
156
157
-e SWARM=0 `#optional` \
157
158
-e SYSTEM=0 `#optional` \
158
159
-e TASKS=0 `#optional` \
160
+ -e TZ=Etc/UTC `#optional` \
159
161
-e VERSION=1 `#optional` \
160
162
-e VOLUMES=0 `#optional` \
161
163
-v /var/run/docker.sock:/var/run/docker.sock:ro \
@@ -197,6 +199,7 @@ full_custom_readme: |
197
199
| `-e SWARM=0` | `/swarm` |
198
200
| `-e SYSTEM=0` | `/system` |
199
201
| `-e TASKS=0` | `/tasks` |
202
+ | `-e TZ=Etc/UTC` | `Set container timezone` |
200
203
| `-e VERSION=1` | `/version` |
201
204
| `-e VOLUMES=0` | `/volumes` |
202
205
| `-v /var/run/docker.sock:ro` | Mount the host docker socket into the container. |
@@ -323,6 +326,7 @@ full_custom_readme: |
323
326
324
327
## Versions
325
328
329
+ * **19.08.25:** - Add tzdata for localised logging timestamps.
326
330
* **03.06.25:** - Rebase to Alpine 3.22. Add RISCV support.
327
331
* **08.04.25:** - Add `LOG_LEVEL` back.
328
332
* **06.04.25:** - Switch back to haproxy for better handling of `docker exec` connection hijacking.
You can’t perform that action at this time.
0 commit comments