Use built lambda.zip when creating build context#44
Merged
Conversation
In certain environments, the build directory has it's permissions tainted because lambda-builder is invoked as non-root. This change ensures builds succeed in more limited environments.
josegonzalez
added a commit
that referenced
this pull request
Aug 9, 2022
- Update docs to add a way for executing the function directly without extra tools #22 - chore(deps): bump golang from 1.18.1-buster to 1.18.2-buster #24 - chore(deps): bump github.com/mitchellh/cli from 1.1.2 to 1.1.3 #23 - chore(deps): bump github.com/aws/aws-lambda-go from 1.30.0 to 1.31.1 #25 - chore(deps): bump github.com/josegonzalez/cli-skeleton from 0.4.0 to 0.5.0 #26 - chore(deps): bump github.com/aws/aws-lambda-go from 1.31.1 to 1.32.0 #27 - Add support for raspbian/bullseye on arm64 architectures #28 - Publish arm64 packages for debian instead of raspbian #29 - chore(deps): bump github.com/rs/zerolog from 1.26.1 to 1.27.0 #32 - chore(deps): bump github.com/mitchellh/cli from 1.1.3 to 1.1.4 #30 - chore(deps): bump golang from 1.18.2-buster to 1.18.3-buster #31 - chore(deps): bump github.com/aws/aws-lambda-go from 1.32.0 to 1.32.1 #33 - chore(deps): bump github.com/BurntSushi/toml from 1.1.0 to 1.2.0 #36 - chore(deps): bump golang from 1.18.3-buster to 1.18.4-buster #34 - chore(deps): bump github.com/aws/aws-lambda-go from 1.32.1 to 1.34.0 #37 - chore(deps): bump github.com/aws/aws-lambda-go from 1.34.0 to 1.34.1 #38 - chore(deps): bump golang from 1.18.4-buster to 1.19.0-buster #40 - Update go version and all modules #41 - Rename Dockerfile.build and fix hadolint issues #42 - Sync ci config with other golang repos #43 - Use built lambda.zip when creating build context #44
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In certain environments, the build directory has it's permissions tainted because lambda-builder is invoked as non-root. This change ensures builds succeed in more limited environments.