Skip to content

Conversation

@id
Copy link
Contributor

@id id commented Dec 15, 2022

No description provided.

Copy link

@thalesmg thalesmg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✔️

@github-actions
Copy link

Diff for cad4148:
diff --git a/_bashbrew-cat b/_bashbrew-cat
index a7a8237..4e93051 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -12,7 +12,7 @@ Architectures: amd64, arm64v8
 GitCommit: 851c0845da8078770fb01ff958733f4989e3a8bc
 Directory: 4.4
 
-Tags: 5.0.11, 5.0, 5, latest
+Tags: 5.0.12, 5.0, 5, latest
 Architectures: amd64, arm64v8
-GitCommit: 851c0845da8078770fb01ff958733f4989e3a8bc
+GitCommit: b623c29ceb438c8fad0dd4d508e3ce601f05791f
 Directory: 5.0
diff --git a/_bashbrew-list b/_bashbrew-list
index f119c1e..a24612d 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -5,5 +5,5 @@ emqx:4.4
 emqx:4.4.11
 emqx:5
 emqx:5.0
-emqx:5.0.11
+emqx:5.0.12
 emqx:latest
diff --git a/emqx_latest/Dockerfile b/emqx_latest/Dockerfile
index 589861a..a70b698 100644
--- a/emqx_latest/Dockerfile
+++ b/emqx_latest/Dockerfile
@@ -5,9 +5,12 @@ RUN set -eu; \
     apt-get install -y --no-install-recommends curl ca-certificates procps; \
     rm -rf /var/lib/apt/lists/*
 
-ENV EMQX_VERSION=5.0.11
-ENV AMD64_SHA256=68609fcc1d74be917f9c28c57c14daabccee22361af91b6e98812a35300a1c80
-ENV ARM64_SHA256=f7c7417951beb490ed3a7347b3879db8e9e80ea214c9ef942e777c7136681d31
+RUN groupadd -r -g 1000 emqx; \
+    useradd -r -m -u 1000 -g emqx emqx;
+
+ENV EMQX_VERSION=5.0.12
+ENV AMD64_SHA256=c137284b389c472f3c2563bc89c8016f5ce9bdb0acf820014afcbbb26a0e81e7
+ENV ARM64_SHA256=5925bb5462d6f163b829c2f1e6490dc5a46e445b5b15c268482bb7310a95f7c4
 ENV LC_ALL=C.UTF-8 LANG=C.UTF-8
 
 RUN set -eu; \
@@ -17,23 +20,18 @@ RUN set -eu; \
     ID="$(sed -n '/^ID=/p' /etc/os-release | sed -r 's/ID=(.*)/\1/g' | sed 's/\"//g')"; \
     VERSION_ID="$(sed -n '/^VERSION_ID=/p' /etc/os-release | sed -r 's/VERSION_ID=(.*)/\1/g' | sed 's/\"//g')"; \
     pkg="emqx-${EMQX_VERSION}-${ID}${VERSION_ID}-${arch}.tar.gz"; \
-    curl -f -O -L https://www.emqx.com/en/downloads/broker/v${EMQX_VERSION}/${pkg}; \
-    echo "$sha256 *$pkg" | sha256sum -c || exit 1; \
-    mkdir /opt/emqx; \
-    tar zxf $pkg -C /opt/emqx; \
-    ln -s /opt/emqx/bin/* /usr/local/bin/; \
+    curl -f -O -L https://www.emqx.com/en/downloads/broker/v${EMQX_VERSION}/${pkg} && \
+    echo "$sha256 *$pkg" | sha256sum -c && \
+    mkdir /opt/emqx && \
+    tar zxf $pkg -C /opt/emqx && \
+    chgrp -Rf emqx /opt/emqx && \
+    chmod -Rf g+w /opt/emqx && \
+    chown -Rf emqx /opt/emqx && \
+    ln -s /opt/emqx/bin/* /usr/local/bin/ && \
     rm -f $pkg
 
-COPY docker-entrypoint.sh /usr/bin/
-
 WORKDIR /opt/emqx
 
-RUN groupadd -r -g 1000 emqx; \
-    useradd -r -m -u 1000 -g emqx emqx; \
-    chgrp -Rf emqx /opt/emqx; \
-    chmod -Rf g+w /opt/emqx; \
-    chown -Rf emqx /opt/emqx
-
 USER emqx
 
 VOLUME ["/opt/emqx/log", "/opt/emqx/data"]
@@ -49,6 +47,8 @@ VOLUME ["/opt/emqx/log", "/opt/emqx/data"]
 # - 5369 for backplain gen_rpc
 EXPOSE 1883 8083 8084 8883 11883 18083 4370 5369
 
+COPY docker-entrypoint.sh /usr/bin/
+
 ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"]
 
 CMD ["/opt/emqx/bin/emqx", "foreground"]

Relevant Maintainers:

@tianon tianon merged commit 20de35c into docker-library:master Dec 15, 2022
@id id deleted the emqx-5.0.12 branch December 16, 2022 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants