Skip to content

Commit 0b38683

Browse files
committed
NYC Yellowcab example: Use official crate:4.8.1 image by default
As this gets built and published for `linux/arm64/v8` as well, it will run way faster on M1/Docker than `crate/crate:nightly`, which is only available for `linux/amd64`.
1 parent cac1aa8 commit 0b38683

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spikes/testbench-yellowcab/cratedb-import-nyc-yellowcab.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#
1212

1313
# 0. Define variables.
14-
CONTAINER_NAME=cratedb
15-
CRATEDB_IMAGE=crate/crate:nightly
14+
CONTAINER_NAME=${CONTAINER_NAME:-cratedb}
15+
CRATEDB_IMAGE=${CRATEDB_IMAGE:-crate:4.8.1}
1616

1717
# 0. Define incantations.
1818
crash="docker run --interactive --rm --network=host ${CRATEDB_IMAGE} crash"

0 commit comments

Comments
 (0)