未验证 提交 7068faaa 编写于 作者: R Rick 提交者: GitHub

clean cache, reduce image size (#430)

* clean cache, reduce image size

* remove set -ex, image size indeed reduced
上级 d063bc0e
......@@ -11,5 +11,8 @@ RUN \
sed -i "s/127.0.0.1:6379/redis:6379/g" `grep -rl "127.0.0.1:6379" ./etc/` &&\
sed -i 's/127.0.0.1/mysql/g' etc/mysql.yml
COPY entrpoint.sh .
RUN yum install mysql net-tools -y
RUN set -ex \
&& yum install mysql net-tools -y \
&& yum clean all \
&& rm -rf /var/cache/yum
ENTRYPOINT ./entrpoint.sh
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册