2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 05:48:05 +00:00

ci/openj9: run mrproper before make

Make sure to remove all files created from previous local build
before compiling in the container.

Reported-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
Radostin Stoyanov 2021-07-14 08:30:53 +01:00 committed by Andrei Vagin
parent 7ff785e1d4
commit 5034885974
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,5 @@
FROM adoptopenjdk/openjdk8-openj9:alpine
ARG CC=gcc
RUN apk update && apk add \
bash \
@ -23,7 +24,7 @@ RUN apk update && apk add \
COPY . /criu
WORKDIR /criu
RUN make
RUN make mrproper && make -j $(nproc) CC="$CC"
ENTRYPOINT mvn -q -f test/javaTests/pom.xml test

View File

@ -1,4 +1,5 @@
FROM adoptopenjdk/openjdk8-openj9:latest
ARG CC=gcc
COPY scripts/ci/apt-install /bin/apt-install
@ -27,7 +28,7 @@ RUN apt-install protobuf-c-compiler \
COPY . /criu
WORKDIR /criu
RUN make
RUN make mrproper && make -j $(nproc) CC="$CC"
ENTRYPOINT mvn -q -f test/javaTests/pom.xml test