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:
parent
8f60d951da
commit
ee7107f8ee
|
@ -37,9 +37,6 @@ RUN useradd --uid=1000 build
|
||||||
RUN mkdir /build
|
RUN mkdir /build
|
||||||
RUN chown build:build /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}
|
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
|
# Install osmo-ci.git/scripts to /usr/local/bin
|
||||||
|
|
Loading…
Reference in New Issue