mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 09:05:10 +00:00
Use fully qualified image names (e.g. "docker.io/...") in Dockerfiles instead of relying on implicit registry resolution. This makes the registry explicit and avoids ambiguity in environments where Docker and Podman may use different default registries. Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
15 lines
420 B
Text
15 lines
420 B
Text
FROM docker.io/library/alpine:latest
|
|
ARG CC=gcc
|
|
|
|
COPY contrib/dependencies/apk-packages.sh /criu/contrib/dependencies/apk-packages.sh
|
|
RUN apk add --no-cache "$CC" && /criu/contrib/dependencies/apk-packages.sh
|
|
|
|
COPY . /criu
|
|
WORKDIR /criu
|
|
|
|
RUN make mrproper && date && make -j $(nproc) CC="$CC" && date
|
|
|
|
# The rpc test cases are running as user #1000, let's add the user
|
|
RUN adduser -u 1000 -D test
|
|
|
|
RUN make -C test/zdtm
|