9b2aab3fc8
This results in a significant time savings during repeated builds (since we don't have to re-download gcc for every test run). Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
9 lines
231 B
Docker
9 lines
231 B
Docker
FROM buildpack-deps:jessie
|
|
|
|
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
|