Skip to content

Commit 9d95423

Browse files
cuttlefishgadomski
authored andcommitted
Make changes to the workdir less brittle in the entrypoints
1 parent 1059ed7 commit 9d95423

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docker/cibuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ Runs CI in the docker dev container.
1616
if [ "${BASH_SOURCE[0]}" = "${0}" ]; then
1717
./docker/build
1818
docker run --rm \
19-
--entrypoint /opt/stactools/scripts/cibuild \
19+
--entrypoint scripts/cibuild \
2020
stacutils/stactools:latest-dev
2121
fi

docker/format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ Run code formatters in a docker container with all prerequisites installed.
1616
if [ "${BASH_SOURCE[0]}" = "${0}" ]; then
1717
docker run --rm -it \
1818
-v `pwd`:/opt/stactools \
19-
--entrypoint /opt/stactools/scripts/format \
19+
--entrypoint scripts/format \
2020
stacutils/stactools:latest-dev
2121
fi

docker/test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ Run linting and tests in a docker container with all prerequisites installed.
1616
if [ "${BASH_SOURCE[0]}" = "${0}" ]; then
1717
docker run --rm -it \
1818
-v `pwd`:/opt/stactools \
19-
--entrypoint /opt/stactools/scripts/test \
19+
--entrypoint scripts/test \
2020
stacutils/stactools:latest-dev
2121
fi

0 commit comments

Comments
 (0)