Skip to content

Add download / unzip of code archive #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 24, 2022
Merged

Conversation

dfangl
Copy link
Member

@dfangl dfangl commented Oct 24, 2022

Motivation

Provide mechanism to download code archive via an url instead of it being mounted/copied into the container before startup. This is necessary for environments where mounting/copying is not feasible.

Changes

  • If the variable "CODE_ARCHIVE_DOWNLOAD_URL" is set, download the zip archive from that url and unzip it to /var/task.

Copy link
Member

@dominikschubert dominikschubert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, minor nits included

@dfangl dfangl merged commit 2a68595 into localstack Oct 24, 2022
@dfangl dfangl deleted the unzip-code-archive branch October 24, 2022 20:06
dfangl added a commit that referenced this pull request Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants