测试dockerfile

This commit is contained in:
kerwincui
2022-05-30 03:27:20 +08:00
parent d057601c72
commit ad0cd5dd11

View File

@@ -29,9 +29,6 @@ RUN apt-get update && \
sed -i "s/# requirepass foobared/requirepass wumei-smart/g" /etc/redis/redis.conf && \ sed -i "s/# requirepass foobared/requirepass wumei-smart/g" /etc/redis/redis.conf && \
sed -i "s/bind 127.0.0.1/# bind 127.0.0.1/g" /etc/redis/redis.conf && \ sed -i "s/bind 127.0.0.1/# bind 127.0.0.1/g" /etc/redis/redis.conf && \
echo "6. 安装 emqx =============================" && \ echo "6. 安装 emqx =============================" && \
# 解决报错问题
service messagebus start && \
service haldaemon start && \
echo "6.1 安装所需依赖包 =============================" && \ echo "6.1 安装所需依赖包 =============================" && \
apt update && apt install -y \ apt update && apt install -y \
apt-transport-https \ apt-transport-https \