https://github.com/samrocketman/yml-install-files
A flexible YAML-based method of downloading multi-arch utilities with checksum validation. Intended for Docker.
https://github.com/samrocketman/yml-install-files
downloader installer linux macos script-installer
Last synced: 10 months ago
JSON representation
A flexible YAML-based method of downloading multi-arch utilities with checksum validation. Intended for Docker.
- Host: GitHub
- URL: https://github.com/samrocketman/yml-install-files
- Owner: samrocketman
- License: mit
- Created: 2023-05-19T22:03:02.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-28T22:26:40.000Z (over 1 year ago)
- Last Synced: 2025-03-28T23:26:38.468Z (over 1 year ago)
- Topics: downloader, installer, linux, macos, script-installer
- Language: Shell
- Homepage:
- Size: 319 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Download files via YAML
A flexible YAML-based method of downloading multi-arch utilities with checksum
validation. Intended for Docker.
- [`download-utilities.sh`](download-utilities.sh) A shell utility which reads
YAML and acts on downloading the files. If no YAML is provided, then it will
look for `download-utilities.yml` in the current working directory.
- [`download-utilities.yml`](download-utilities.yml) an example of the current
YAML specification for downloading binary utilities.
# Documentation
- [Use case](docs/use-case.md)
- [Example usage](docs/example-usage.md)
- [YAML spec](docs/yaml-spec.md)
- [YAML examples](docs/yaml-examples.md)
- [Basic shell scripts](docs/shell-scripting.md)
- [Environment Variables](docs/environment-variables.md)
# Requirements
Only Mac OS and Linux is currently supported. BSD should work also but isn't
tested.
Running `download-utilities.sh` requires the following installed software:
- Bash
- (BSD, BusyBox, or GNU) coreutils, awk, and curl or wget
- [yq][yq] (auto downloads latest if not available to `/tmp`)
[yq]: https://github.com/mikefarah/yq