diff options
author | Adrian Reber <areber@redhat.com> | 2021-03-10 10:47:37 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2021-09-03 20:31:00 +0300 |
commit | 288adfc591103aa7e50ee1c0944d8ae7d4ecf291 (patch) | |
tree | 1a7513260575da90778a794d5340f91c2ff2a74c /scripts/build/Dockerfile.alpine | |
parent | 2e0107ead833f4b6c1865275b819693e92978d63 (diff) |
ci: remove ccache setup
ccache was set up in Travis to speed up compilation by re-using the
.ccache directory from previous CI runs. As we are no longer using
Travis we can remove all CI related ccache setup.
Signed-off-by: Adrian Reber <areber@redhat.com>
Diffstat (limited to 'scripts/build/Dockerfile.alpine')
-rw-r--r-- | scripts/build/Dockerfile.alpine | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/build/Dockerfile.alpine b/scripts/build/Dockerfile.alpine index dbf3c2bf1..058b46ad6 100644 --- a/scripts/build/Dockerfile.alpine +++ b/scripts/build/Dockerfile.alpine @@ -6,7 +6,6 @@ RUN apk update && apk add \ $CC \ bash \ build-base \ - ccache \ coreutils \ git \ gnutls-dev \ @@ -26,9 +25,8 @@ RUN apk update && apk add \ COPY . /criu WORKDIR /criu -ENV CC="ccache $CC" CCACHE_DIR=/tmp/.ccache CCACHE_NOCOMPRESS=1 $ENV1=yes -RUN mv .ccache /tmp && make mrproper && ccache -sz && \ - date && make -j $(nproc) CC="$CC" && date && ccache -s +ENV $ENV1=yes +RUN make mrproper && date && make -j $(nproc) CC="$CC" && date RUN apk add \ ip6tables \ |