Change in docker-playground[master]: fpga-build: Make sure PATH is also set for non-root users

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Thu Dec 17 15:31:44 UTC 2020


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/docker-playground/+/21765 )


Change subject: fpga-build: Make sure PATH is also set for non-root users
......................................................................

fpga-build: Make sure PATH is also set for non-root users

Change-Id: I16bf9c8cafbad85a6ec77f17b034c73f530565b9
---
M fpga-build/Dockerfile
1 file changed, 3 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/65/21765/1

diff --git a/fpga-build/Dockerfile b/fpga-build/Dockerfile
index 8a19dfe..ec1e37f 100644
--- a/fpga-build/Dockerfile
+++ b/fpga-build/Dockerfile
@@ -34,4 +34,7 @@
 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}

-- 
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/21765
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I16bf9c8cafbad85a6ec77f17b034c73f530565b9
Gerrit-Change-Number: 21765
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201217/c06409ab/attachment.htm>


More information about the gerrit-log mailing list