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:
parent
7ff785e1d4
commit
5034885974
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user