File: Dockerfile.archlinux

package info (click to toggle)
criu 4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,500 kB
  • sloc: ansic: 139,280; python: 7,484; sh: 3,824; java: 2,799; makefile: 2,659; asm: 1,137; perl: 206; xml: 117; exp: 45
file content (18 lines) | stat: -rw-r--r-- 392 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM docker.io/library/archlinux:latest

ARG CC=gcc

# Initialize machine ID
RUN systemd-machine-id-setup

COPY . /criu
WORKDIR /criu

RUN pacman -Syu --noconfirm "$CC" && contrib/dependencies/pacman-packages.sh

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 useradd -u 1000 test

RUN make -C test/zdtm