File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77from time import sleep
88
99LOCALSTACK_IMAGE_NAME = "localstack/localstack-pro"
10- LATEST_TAG = "latest "
10+ DEV_TAG = "dev "
1111
1212MAX_PORT_CONNECTION_ATTEMPTS = 10
1313MAX_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 (
Original file line number Diff line number Diff line change 11import re
22import docker
33import logging
4- from localstack_utils .container import Container
4+ from localstack_utils .container import DEV_TAG , Container
55from localstack_utils .localstack_docker_configuration import (
66 LocalstackDockerConfiguration ,
77)
@@ -71,7 +71,7 @@ def setup_logger(self):
7171
7272def startup_localstack (
7373 image_name = "" ,
74- tag = "" ,
74+ tag = DEV_TAG ,
7575 container_name = "" ,
7676 pro = False ,
7777 ports = None ,
You can’t perform that action at this time.
0 commit comments