mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-01-08 21:47:59 -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
|
# build docker image
|
||||||
IMAGE=ghidra/ghidra:$TAG
|
IMAGE=ghidra/ghidra:$TAG
|
||||||
echo building image $IMAGE
|
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
|
if [ $? != 0 ]; then
|
||||||
echo "ERROR: Docker Image Build Failed! See docker/docker.log to identify build error"
|
echo "ERROR: Docker Image Build Failed! See docker/docker.log to identify build error"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user