8000 add build time service catalog cache generation to s3 image · localstack/localstack@4fef3cb · GitHub
[go: up one dir, main page]

Skip to content

Commit 4fef3cb

Browse files
committed
add build time service catalog cache generation to s3 image
1 parent 50ae8ec commit 4fef3cb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile.s3

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ RUN --mount=type=cache,target=/root/.cache \
9393
RUN SETUPTOOLS_SCM_PRETEND_VERSION_FOR_LOCALSTACK_CORE=${LOCALSTACK_BUILD_VERSION} \
9494
make entrypoints
9595

96+
# Generate service catalog cache in static libs dir
97+
RUN . .venv/bin/activate && python3 -m localstack.aws.spec
98+
9699
# link the python package installer virtual environments into the localstack venv
97100
RUN echo /var/lib/localstack/lib/python-packages/lib/python3.11/site-packages > localstack-var-python-packages-venv.pth && \
98101
mv localstack-var-python-packages-venv.pth .venv/lib 37A3 /python*/site-packages/

0 commit comments

Comments
 (0)
0