Skip to content

Commit 9bfaf46

Browse files
committed
update references
1 parent abe71ee commit 9bfaf46

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

localstack_utils/container.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from time import sleep
88

99
LOCALSTACK_IMAGE_NAME = "localstack/localstack-pro"
10-
LATEST_TAG = "latest"
10+
DEV_TAG = "dev"
1111

1212
MAX_PORT_CONNECTION_ATTEMPTS = 10
1313
MAX_LOG_COLLECTION_ATTEMPTS = 120
@@ -29,7 +29,7 @@ def create_localstack_container(
2929
*args,
3030
pull_new_image: bool = False,
3131
image_name: str = LOCALSTACK_IMAGE_NAME,
32-
image_tag: str = LATEST_TAG,
32+
image_tag: str = DEV_TAG,
3333
container_name: str = DEFAULT_CONTAINER_ID,
3434
gateway_listen: str = "0.0.0.0:4566",
3535
auto_remove: bool = False,
@@ -51,7 +51,7 @@ def create_localstack_container(
5151
bind_ports.update({gateway_port: gateway_port})
5252

5353
if pull_new_image or not image_exists:
54-
logging.info("Pulling latest image")
54+
logging.info("Pulling latest development image")
5555
DOCKER_CLIENT.images.pull(image_name, image_tag)
5656

5757
return DOCKER_CLIENT.containers.run(

localstack_utils/localstack.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import re
22
import docker
33
import logging
4-
from localstack_utils.container import Container
4+
from localstack_utils.container import DEV_TAG, Container
55
from localstack_utils.localstack_docker_configuration import (
66
LocalstackDockerConfiguration,
77
)
@@ -71,7 +71,7 @@ def setup_logger(self):
7171

7272
def startup_localstack(
7373
image_name="",
74-
tag="",
74+
tag=DEV_TAG,
7575
container_name="",
7676
pro=False,
7777
ports=None,

0 commit comments

Comments
 (0)