From ee7107f8eefbb4c76afe23ccbc6cc6dc000f77df Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Wed, 13 Jan 2021 11:27:01 +0100 Subject: [PATCH] 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 --- fpga-build/Dockerfile | 3 --- 1 file changed, 3 deletions(-) diff --git a/fpga-build/Dockerfile b/fpga-build/Dockerfile index a46641c5..135af713 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