clean cache, reduce image size (#430)
* clean cache, reduce image size * remove set -ex, image size indeed reduced
This commit is contained in:
parent
d063bc0e78
commit
7068faaa92
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue