diff options
author | Oliver Smith <osmith@sysmocom.de> | 2021-01-13 11:27:01 +0100 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2021-01-13 15:56:17 +0100 |
commit | ee7107f8eefbb4c76afe23ccbc6cc6dc000f77df (patch) | |
tree | 0dd6991beca1a9d0cd1f0f8f66d1413e327ffc07 | |
parent | 8f60d951da9a265062856e679b9b87c7c2297a2d (diff) |
fpga-build: don't write path to /etc/environment
PATH isn't overwritten anymore when jenkins runs docker in osmo-ci.git's
master-builds.yml / gerrit-verifications.yml, therefore we can remove
this hack.
Change-Id: I5bff98f7af1a2f2de88c8d96d1e30de960057d01
-rw-r--r-- | fpga-build/Dockerfile | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fpga-build/Dockerfile b/fpga-build/Dockerfile index a46641c..135af71 100644 --- a/fpga-build/Dockerfile +++ b/fpga-build/Dockerfile @@ -37,9 +37,6 @@ RUN useradd --uid=1000 build RUN mkdir /build RUN chown build:build /build -# ENV doesn't worrk for other users -RUN echo "PATH=/opt/fpga-toolchain/bin:/opt/xpack-riscv-none-embed-gcc-${RISCV_TOOLCHAIN_VER}/bin:\$PATH" >> /etc/environment - ENV PATH=/opt/fpga-toolchain/bin:/opt/xpack-riscv-none-embed-gcc-${RISCV_TOOLCHAIN_VER}/bin:${PATH} # Install osmo-ci.git/scripts to /usr/local/bin |