entrypoint.sh sets environment variables correctly. Dockerfile has all necessary steps, still needs to be cleaned up

This commit is contained in:
Ella Schwarz
2020-12-01 13:37:56 -08:00
committed by Ella Schwarz
parent 4253382df0
commit 8141c717fc
2 changed files with 24 additions and 32 deletions

7
scripts/entrypoint.sh Normal file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
# adapted from https://stackoverflow.com/questions/55921914/how-to-source-a-script-with-environment-variables-in-a-docker-build-process
. /home/riscvuser/chipyard/env.sh
exec "$@"