8000 Update PRO image warning (#7928) · localstack/localstack@b1222dd · GitHub
[go: up one dir, main page]

Skip to content

Commit b1222dd

Browse files
silv-iodfangl
authored andcommitted
Update PRO image warning (#7928)
1 parent f4f0a5a commit b1222dd

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

bin/docker-entrypoint.sh

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,17 @@ then
77
EDGE_PORT=4566
88
fi
99

10-
# FIXME: remove with 2.0
11-
# the Dockerfile creates .pro-version file for the pro image. When trying to activate pro features with any other
12-
# version, an error is printed.
13-
if [[ $LOCALSTACK_API_KEY ]] && [[ ! -f /usr/lib/localstack/.pro-version ]]; then
10+
# the Dockerfile creates .pro-version file for the pro image and .bigdata-pro-version for the bigdata image.
11+
# When trying to activate pro features with any other version, a warning is printed.
12+
if [[ $LOCALSTACK_API_KEY ]] && ! compgen -G /usr/lib/localstack/.*pro-version >/dev/null; then
1413
echo "WARNING"
1514
echo "============================================================================"
16-
echo " It seems you are using the LocalStack Pro version without using the"
17-
echo " dedicated Pro image."
18-
echo " Future versions will only support running LocalStack Pro with the"
19-
echo " dedicated image."
15+
echo " It seems you are trying to use the LocalStack Pro version without using "
16+
echo " the dedicated Pro image."
17+
echo " LocalStack will only start with community services enabled."
2018
echo " To fix this warning, use localstack/localstack-pro instead."
2119
echo ""
22-
echo " See: https://github.com/localstack/localstack/issues/7257"
20+
echo " See: https://github.com/localstack/localstack/issues/7882"
2321
echo "============================================================================"
2422
echo ""
2523
elif [[ -f /usr/lib/localstack/.light-version ]] || [[ -f /usr/lib/localstack/.full-version ]]; then

0 commit comments

Comments
 (0)
0