summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Poirier <mathieu.poirier@linaro.org>2021-02-15 15:58:57 -0700
committerMathieu Poirier <mathieu.poirier@linaro.org>2021-02-15 15:58:57 -0700
commit4d05da19e81ac2aa7b1eeb490b01ec18d5cbee3d (patch)
treeb07397a382d1a2012429dcd9a6f3bfc0e54ddb37
parent717cf0971f62911a49127d9ae8074cb6a7cfd0e4 (diff)
patchnet: Properly set environment variableHEADmaster
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
-rw-r--r--patchnet2
-rw-r--r--patchnet-preprocessing2
2 files changed, 2 insertions, 2 deletions
diff --git a/patchnet b/patchnet
index 32ff4c4..ea423cd 100644
--- a/patchnet
+++ b/patchnet
@@ -51,7 +51,7 @@ RUN apt-get install -y libparmap-ocaml-dev
# Install tools to build training sets
RUN git clone https://git.linaro.org/people/mathieu.poirier/tooling.git
-RUN export PATH=$PATH:/home/linaro/tooling
+ENV PATH="/home/linaro/tooling:${PATH}"
RUN chmod 755 /home/linaro/tooling/*
RUN apt-get install -y parallel
diff --git a/patchnet-preprocessing b/patchnet-preprocessing
index 6190148..d77360b 100644
--- a/patchnet-preprocessing
+++ b/patchnet-preprocessing
@@ -51,7 +51,7 @@ RUN apt-get install -y libparmap-ocaml-dev
# Install tools to build training sets
RUN git clone https://git.linaro.org/people/mathieu.poirier/tooling.git
-RUN export PATH=$PATH:/home/linaro/tooling
+ENV PATH="/home/linaro/tooling:${PATH}"
RUN chmod 755 /home/linaro/tooling/*
RUN apt-get install -y parallel