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
This commit is contained in:
Oliver Smith 2021-01-13 11:27:01 +01:00
parent 8f60d951da
commit ee7107f8ee
1 changed files with 0 additions and 3 deletions

View File

@ -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