mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-01-06 20:53:55 -05:00
GP-0 improved the build docker image script to use relative path for the
build context parameter of docker build.
This commit is contained in:
@@ -50,7 +50,7 @@ TAG=${VERSION}_${RELEASE}
|
||||
# build docker image
|
||||
IMAGE=ghidra/ghidra:$TAG
|
||||
echo building image $IMAGE
|
||||
docker build -f $SCRIPT_DIR/../docker/Dockerfile -t $IMAGE . 2>&1 | tee $SCRIPT_DIR/../docker/docker.log
|
||||
docker build -f $SCRIPT_DIR/../docker/Dockerfile -t $IMAGE $SCRIPT_DIR/.. 2>&1 | tee $SCRIPT_DIR/../docker/docker.log
|
||||
if [ $? != 0 ]; then
|
||||
echo "ERROR: Docker Image Build Failed! See docker/docker.log to identify build error"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user