Skip to content

Commit 9bf5f6c

Browse files
committed
docker: Add timezone support and clean up apt lists
1 parent 56301de commit 9bf5f6c

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

build/ingress/Dockerfile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,18 @@ RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then GOARCH=arm64; else GOARCH=amd
4545

4646
FROM livekit/gstreamer:$GSTVERSION-prod
4747

48+
# BEGIN OPENVIDU BLOCK
4849
# install wget for health check
49-
RUN apt-get update && apt-get install -y wget
50+
RUN apt-get update && apt-get install -y wget && \
51+
apt-get clean && \
52+
rm -rf /var/lib/apt/lists/*
5053

51-
# clean up
52-
RUN apt-get clean && \
53-
rm -rf /var/lib/apt/lists/*
54+
# Add timezone support
55+
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
56+
apt-get install -y tzdata && \
57+
apt-get clean && \
58+
rm -rf /var/lib/apt/lists/*
59+
# END OPENVIDU BLOCK
5460

5561
# copy binary
5662
COPY --from=0 /workspace/ingress /bin/

0 commit comments

Comments
 (0)