Merge pull request #8671 from zmstone/0809-add-tzdata-package-to-alpine

chore: add tzdata to alpine docker image
This commit is contained in:
Zaiming (Stone) Shi 2022-08-10 12:38:55 +01:00 committed by GitHub
commit 4ca487af35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -20,6 +20,7 @@ File format:
### Enhancements ### Enhancements
- Improve error message for LwM2M plugin when object ID is not valid [#8654](https://github.com/emqx/emqx/pull/8654). - Improve error message for LwM2M plugin when object ID is not valid [#8654](https://github.com/emqx/emqx/pull/8654).
- Add tzdata apk package to alpine docker image. [#8671](https://github.com/emqx/emqx/pull/8671)
## v4.3.19 ## v4.3.19

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