Skip to content

Commit 081f657

Browse files
committed
Copying over starter.sh from python-arango
1 parent d87d837 commit 081f657

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

starter.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,15 @@ else
3232
exit 1
3333
fi
3434

35-
conf_file=""
36-
if [[ "${version%.*}" == "3.10" ]]; then
37-
conf_file="${setup}-3.10"
35+
if [ "$version" == "latest" ]; then
36+
conf_file="${setup}-3.12"
37+
elif [[ "$version" == *.*.* ]]; then
38+
conf_file="${setup}-${version%.*}"
3839
else
39-
conf_file="${setup}"
40+
conf_file="${setup}-${version}"
4041
fi
4142

42-
docker run -d --rm \
43+
docker run -d \
4344
--name arango \
4445
-p 8528:8528 \
4546
-p 8529:8529 \

0 commit comments

Comments
 (0)