mirror of
https://github.com/meganz/MEGAcmd
synced 2025-08-31 13:55:10 +00:00
Move ARG declaration to just above RUN to avoid cache invalidation.
This commit is contained in:
@@ -94,10 +94,10 @@ WORKDIR /usr/src/megacmd
|
||||
ENV CC "ccache gcc-12"
|
||||
ENV CXX "ccache g++-12"
|
||||
ENV CCACHE_DIR /tmp/ccache
|
||||
ARG BUILD_OPT_SANITIZERS=all
|
||||
|
||||
COPY --from=src /usr/src/megacmd /usr/src/megacmd
|
||||
|
||||
ARG BUILD_OPT_SANITIZERS=all
|
||||
RUN --mount=type=cache,target=/tmp/ccache \
|
||||
./autogen.sh \
|
||||
&& ./configure --disable-silent-rules --prefix=/usr/local \
|
||||
|
Reference in New Issue
Block a user