Skip to content

Commit 78ea531

Browse files
committed
refactor: simplify build-docker-image.sh a bit
1 parent 6277813 commit 78ea531

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev_env/build-docker-image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fi
1212
DOCKER_IMAGE=${1:-}
1313

1414
CONTEXT_DIR=$(mktemp -d 2> /dev/null || mktemp -d -t DAS)
15-
pushd "${SCRIPT_DIR_NAME}/.." > /dev/null && tar zcf "${CONTEXT_DIR}/package.tar.gz" . && popd > /dev/null
15+
pushd "$(repo-root-dir.sh)" > /dev/null && tar zcf "${CONTEXT_DIR}/package.tar.gz" . && popd > /dev/null
1616

1717
docker build \
1818
-t "${DOCKER_IMAGE}" \

0 commit comments

Comments
 (0)