This repository has been archived by the owner on Jun 24, 2024. It is now read-only.
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.
I think I understand your suggestion in your comment on issue #9 - is that to ensure that if the scripts are run without an explicit VIPS_VERSION being set, or if the Dockerfile is run without the build.sh script, then the deploy.sh script will still have access to the version info? And, the version used in the Dockerfile is canonical?
The Dockerfile in this PR creates a file named
.env
which is copied (with the zip file) to the host and is then sourced by the deploy.sh script. I guess, in future, additional build variables can also be stored in there if the user needs access to those after the library is built.Layers cannot contain a
.
so I'm just droppping these with${VIPS_VERSION//./}
I've tested deployments with:
1.
bin/deploy
- which builds v8.7.4 (the default in bin/build) and publishes asrubyvips874
2.
VIPS_VERSION=8.9.2 bin/deploy
which builds v8.9.2 and publishes asrubyvips892
3.
VIPS_VERSION=8.9.0-rc4 bin/deploy
(just to check the edge case version name) which builds v8.9.0-rc4 and publishes asrubyvips890-rc4