moby/contrib/nnp-test/Dockerfile
wanghuaiqing 228d74842f Upgrading the versions of images in Dockerfile.
In order to run tests at mips64el device.
Now official-images has supported the following images for mips64el.
buildpack-deps:stretch
buildpack-deps:buster
debian:stretch
debian:buster

But official-images does not support the following images for mips64el.
debian:jessie
buildpack-deps:jessie

Signed-off-by: wanghuaiqing <wanghuaiqing@loongson.cn>
2020-06-30 12:24:06 +08:00

9 lines
154 B
Docker

FROM buildpack-deps:buster
COPY . /usr/src/
WORKDIR /usr/src/
RUN gcc -g -Wall -static nnp-test.c -o /usr/bin/nnp-test
RUN chmod +s /usr/bin/nnp-test