Skip to content

Commit

Permalink
fix(docker): add build.sh script for easier builds
Browse files Browse the repository at this point in the history
Any arguments that you provide it get put into `TRAME_BUILD`, so you
can add arguments like `no_www` or `venv`.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
  • Loading branch information
psavery authored and jourdain committed Dec 11, 2022
1 parent 3cd4dc3 commit 26effc0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docker/scripts/build.sh
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

# Put any arguments into the `TRAME_BUILD` variable
# This is so you can do things like `/opt/trame/build.sh no_www venv`, etc.
export TRAME_BUILD="$*"
export TRAME_BUILD_ONLY=1

/opt/trame/entrypoint.sh

0 comments on commit 26effc0

Please sign in to comment.