criu/scripts/build/Dockerfile.alpine
Radostin Stoyanov bcd66dc302 scripts: fully qualify base image references
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>
2026-03-09 08:33:03 -07:00

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