node-distro/s6/minimal/run_fluence
Anatolios Laskaris af31412d6f
chore: Prepare for multiplatform build (#148)
* Prepare for multiarch

* Fix

* Fix

* Fix

* Move some code to scripts

* Cleanup

* Run chmod

* Typo

* Fix

* Fixes

* Typo

* Install npm

* Fix

* Cleanup

* Fix

* Fix?

* Updates
2023-06-05 18:05:24 +03:00

12 lines
381 B
Plaintext
Executable File

#!/usr/bin/execlineb -s0
# '-s0' defines '$@' to hold all positional parameters
# import ENV from container
with-contenv
# remove old HOME variable from the environment, so the daemon isn't confused by it
# see https://github.com/fluencelabs/nox-distro/issues/14 for more details
unexport HOME
# 'setuidgid abc' runs '/usr/bin/nox' as user 'abc'
s6-setuidgid abc /usr/bin/nox $@