github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/contrib/syscall-test/Dockerfile (about) 1 FROM buildpack-deps:jessie 2 3 COPY . /usr/src/ 4 5 WORKDIR /usr/src/ 6 7 RUN gcc -g -Wall -static userns.c -o /usr/bin/userns-test \ 8 && gcc -g -Wall -static ns.c -o /usr/bin/ns-test \ 9 && gcc -g -Wall -static acct.c -o /usr/bin/acct-test \ 10 && gcc -g -Wall -static setuid.c -o /usr/bin/setuid-test \ 11 && gcc -g -Wall -static setgid.c -o /usr/bin/setgid-test \ 12 && gcc -g -Wall -static socket.c -o /usr/bin/socket-test \ 13 && gcc -g -Wall -static raw.c -o /usr/bin/raw-test 14 15 RUN [ "$(uname -m)" = "x86_64" ] && gcc -s -m32 -nostdlib exit32.s -o /usr/bin/exit32-test || true