mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
install more in dockerfile for lkp-tests
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
d82d0ba649
commit
3ab1225b7c
|
@ -1,15 +1,42 @@
|
||||||
FROM debian:sid
|
FROM debian:sid
|
||||||
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN dpkg --add-architecture i386 \
|
||||||
|
&& apt-get update && apt-get install -y \
|
||||||
|
automake \
|
||||||
|
bc \
|
||||||
|
bsdtar \
|
||||||
|
build-essential \
|
||||||
|
bzip2 \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
|
cpio \
|
||||||
|
fakeroot \
|
||||||
|
gawk \
|
||||||
gcc \
|
gcc \
|
||||||
git \
|
git \
|
||||||
|
gzip \
|
||||||
|
kmod \
|
||||||
|
libc6-dev \
|
||||||
|
libc6-dev:i386 \
|
||||||
|
libklibc-dev \
|
||||||
|
libtool \
|
||||||
|
linux-libc-dev \
|
||||||
|
linux-libc-dev:i386 \
|
||||||
|
linux-perf \
|
||||||
make \
|
make \
|
||||||
|
openssl \
|
||||||
|
patch \
|
||||||
|
perl \
|
||||||
|
rsync \
|
||||||
|
ruby \
|
||||||
|
ruby-dev \
|
||||||
|
sysstat \
|
||||||
|
time \
|
||||||
|
wget \
|
||||||
--no-install-recommends \
|
--no-install-recommends \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN git clone --depth 1 https://github.com/01org/lkp-tests.git /usr/src/lkp-tests
|
RUN git clone --depth 1 https://github.com/fengguang/lkp-tests.git /usr/src/lkp-tests
|
||||||
|
|
||||||
WORKDIR /usr/src/lkp-tests
|
WORKDIR /usr/src/lkp-tests
|
||||||
|
|
||||||
|
@ -20,6 +47,6 @@ RUN make install \
|
||||||
RUN groupadd --gid 1090 lkp
|
RUN groupadd --gid 1090 lkp
|
||||||
RUN useradd --uid 1090 --gid 1090 lkp
|
RUN useradd --uid 1090 --gid 1090 lkp
|
||||||
|
|
||||||
COPY run.sh /usr/local/bin/run-bench
|
COPY runbench /usr/local/bin/runbench
|
||||||
|
|
||||||
CMD [ "lkp" ]
|
CMD [ "lkp" ]
|
||||||
|
|
|
@ -7,6 +7,8 @@ JOB_FILE="./jobs/${ARG}.yaml"
|
||||||
|
|
||||||
if [[ ! -f "$JOB_FILE" ]]; then
|
if [[ ! -f "$JOB_FILE" ]]; then
|
||||||
echo "$JOB_FILE does not exist, please select a job that is in the jobs directory." 1>&2;
|
echo "$JOB_FILE does not exist, please select a job that is in the jobs directory." 1>&2;
|
||||||
|
echo "For example:" 1>&2;
|
||||||
|
echo " runbench hackbench-100" 1>&2;
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -14,7 +16,7 @@ echo "Installing dependencies for ${ARG}..."
|
||||||
lkp install "$JOB_FILE"
|
lkp install "$JOB_FILE"
|
||||||
|
|
||||||
echo "Running ${ARG}..."
|
echo "Running ${ARG}..."
|
||||||
lkp run "$JOB_FILE"
|
lkp run "$JOB_FILE" || true
|
||||||
|
|
||||||
echo "Getting result from ${ARG}..."
|
echo "Getting result from ${ARG}..."
|
||||||
lkp stat
|
lkp stat
|
Loading…
Reference in New Issue
Block a user