chore: disable cache in Dockerfile

This commit is contained in:
Ivan Dyachkov 2024-01-31 09:42:06 +01:00
parent d59b1dfd5d
commit 58984bb6cf
1 changed files with 1 additions and 6 deletions

View File

@ -16,12 +16,7 @@ WORKDIR /emqx/
RUN git config --global --add safe.directory '*'
RUN if [ -f rebar-git-cache.tar ]; then \
mkdir .cache && \
tar -xf rebar-git-cache.tar -C .cache && \
export REBAR_GIT_CACHE_DIR='/emqx/.cache' && \
export REBAR_GIT_CACHE_REF_AUTOFILL=0 ;\
fi \
RUN export REBAR_GIT_CACHE_REF_AUTOFILL=0 \
&& export PROFILE=${EMQX_NAME%%-elixir} \
&& export EMQX_NAME1="${EMQX_NAME}" \
&& export EMQX_NAME=${PROFILE} \