mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
327421d1df
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
15 lines
346 B
Docker
15 lines
346 B
Docker
FROM debian:jessie
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
gcc \
|
|
libc6-dev \
|
|
--no-install-recommends \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY . /usr/src/
|
|
|
|
WORKDIR /usr/src/
|
|
|
|
RUN gcc -g -Wall -static userns.c -o /usr/bin/userns-test \
|
|
&& gcc -g -Wall -static ns.c -o /usr/bin/ns-test \
|
|
&& gcc -g -Wall -static acct.c -o /usr/bin/acct-test
|