chore: add tzdata to alpine docker image

This commit is contained in:
Zaiming (Stone) Shi 2022-08-09 13:21:39 +02:00
parent 56a0a19807
commit c93dbf7624
1 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@ RUN apk add --no-cache \
libc-dev \ libc-dev \
libstdc++ \ libstdc++ \
bash \ bash \
tzdata \
jq jq
COPY . /emqx COPY . /emqx
@ -48,7 +49,7 @@ COPY deploy/docker/docker-entrypoint.sh /usr/bin/
COPY --from=builder /emqx/_build/$EMQX_NAME/rel/emqx /opt/emqx COPY --from=builder /emqx/_build/$EMQX_NAME/rel/emqx /opt/emqx
RUN ln -s /opt/emqx/bin/* /usr/local/bin/ RUN ln -s /opt/emqx/bin/* /usr/local/bin/
RUN apk add --no-cache curl ncurses-libs openssl sudo libstdc++ bash RUN apk add --no-cache curl ncurses-libs openssl sudo libstdc++ bash tzdata
WORKDIR /opt/emqx WORKDIR /opt/emqx