aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dockerfiles/Debian_testing.docker
diff options
context:
space:
mode:
authorPiotr Krysik <ptrkrysik@gmail.com>2016-04-29 15:47:45 +0200
committerPiotr Krysik <ptrkrysik@gmail.com>2016-04-29 15:47:45 +0200
commit50a0e950f20cdd833e8d80dbc0d72026e1667b15 (patch)
treec2f200824d3a492b5e91df3a95bf00546616c27a /tests/dockerfiles/Debian_testing.docker
parent7685bc0501399a06c7de7d6d149930e90bba74ea (diff)
Removed calls to 'cd' bash command and replaced it with WORKDIR
which should work better according to docker's manual
Diffstat (limited to 'tests/dockerfiles/Debian_testing.docker')
-rw-r--r--tests/dockerfiles/Debian_testing.docker8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/dockerfiles/Debian_testing.docker b/tests/dockerfiles/Debian_testing.docker
index 24dde82..4b3bced 100644
--- a/tests/dockerfiles/Debian_testing.docker
+++ b/tests/dockerfiles/Debian_testing.docker
@@ -1,7 +1,7 @@
FROM debian:testing
+MAINTAINER Ash Wilson
RUN apt-get update && apt-get install -y \
- uhd-host \
cmake \
autoconf \
libtool \
@@ -18,9 +18,9 @@ RUN apt-get update && apt-get install -y \
COPY ./ /src/
RUN ls /src
-RUN mkdir /src/build && \
- cd /src/build && \
- cmake .. && \
+RUN mkdir /src/build
+WORKDIR /src/build
+RUN cmake .. && \
make && \
make install && \
ldconfig