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
changes/36/22136/3
Oliver Smith 2 years ago
parent 8f60d951da
commit ee7107f8ee
  1. 3
      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

Loading…
Cancel
Save