mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-05 02:49:27 +00:00
tests: cleanup test directory
- add a `pkg` directory for packages - add a `cases` directory for yml files Signed-off-by: Dave Tucker <dt@docker.com>
This commit is contained in:
19
test/pkg/ltp/Dockerfile.build
Normal file
19
test/pkg/ltp/Dockerfile.build
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM debian:jessie
|
||||
|
||||
ARG LTP_VERSION
|
||||
|
||||
ENV LTP_SOURCE=https://github.com/linux-test-project/ltp/releases/download/${LTP_VERSION}/ltp-full-${LTP_VERSION}.tar.xz
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y curl xz-utils make gcc flex bison automake autoconf
|
||||
|
||||
RUN curl -fsSL -o ltp-full-${LTP_VERSION}.tar.xz ${LTP_SOURCE}
|
||||
|
||||
RUN cat ltp-full-${LTP_VERSION}.tar.xz | tar --absolute-names -xJ && mv /ltp-full-${LTP_VERSION} /ltp
|
||||
|
||||
RUN cd /ltp \
|
||||
&& make autotools \
|
||||
&& ./configure \
|
||||
&& make -j "$(getconf _NPROCESSORS_ONLN)" all \
|
||||
&& make install
|
||||
Reference in New Issue
Block a user