mirror of
https://github.com/luxfi/uma.git
synced 2026-10-30 15:14:44 +00:00
7 lines
445 B
Bash
Executable File
7 lines
445 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Simple script that simply runs a command input as an environment variable. This is used to allow the docker image to
|
|
# run arbitrary commands by specifying them in the environment rather than the docker run command. Optionally, specify
|
|
# UMA_PACKAGE as an ENV which lets you navigate to additional base packages installed within the container.
|
|
if [ -z ${UMA_PACKAGE+x} ]; then $COMMAND; else cd ../${UMA_PACKAGE} && $COMMAND; fi
|