Merge pull request #9077 from emqx/chore-reduce-docker-image-size

chore: don't keep tar.gz in the docker image
This commit is contained in:
Ivan Dyachkov 2022-09-29 16:36:52 +02:00 committed by GitHub
commit 09500f1f45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ RUN export PROFILE=${EMQX_NAME%%-elixir} \
&& cd /emqx \ && cd /emqx \
&& rm -rf $EMQX_LIB_PATH \ && rm -rf $EMQX_LIB_PATH \
&& make $EMQX_NAME1 \ && make $EMQX_NAME1 \
&& rm -f $EMQX_REL_PATH/*.tar.gz \
&& mkdir -p /emqx-rel \ && mkdir -p /emqx-rel \
&& mv $EMQX_REL_PATH /emqx-rel && mv $EMQX_REL_PATH /emqx-rel