Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skazemi/docker-rauc-bundler
Minimal docker image for creating/handling RAUC bundles
https://github.com/skazemi/docker-rauc-bundler
build-tool bundler cicd docker-container docker-image embedded-linux rauc
Last synced: about 1 month ago
JSON representation
Minimal docker image for creating/handling RAUC bundles
- Host: GitHub
- URL: https://github.com/skazemi/docker-rauc-bundler
- Owner: skazemi
- License: mit
- Created: 2024-06-20T19:11:33.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-08-07T19:40:42.000Z (6 months ago)
- Last Synced: 2024-10-31T10:44:11.342Z (3 months ago)
- Topics: build-tool, bundler, cicd, docker-container, docker-image, embedded-linux, rauc
- Language: Dockerfile
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-rauc-bundler
Minimal docker image for creating/handling [RAUC](https://github.com/rauc/rauc) bundles
## Build
```bash
git clone https://github.com/skazemi/docker-rauc-bundler.git && cd docker-rauc-bundler
```### Build default version
```bash
docker build . -t rauc-bundler:latest
```### Build specific version
```bash
docker build . -t rauc-bundler:custom --build-arg RAUC_VERSION=v1.11.3
```## Usage
### Get RAUC version
```bash
docker run rauc-bundler:latest --version
```### Create bundle with host user ownership
```bash
docker run --user "$(id -u):$(id -g)" \
-v "$(pwd)/dummy-keys":/bundle/keys \
-v "$(pwd)/dummy-content":/bundle/input \
-v "$(pwd)/dummy-output":/bundle/output \
rauc-bundler:latest --keyring=keys/dummy.keyring.pem bundle \
--cert=keys/dummy.cert.pem \
--key=keys/dummy.key.pem \
input/ \
output/dummy.raucb
```### Get bundle info
```bash
docker run \
-v "$(pwd)/dummy-keys":/bundle/keys \
-v "$(pwd)/dummy-output":/bundle/output \
rauc-bundler:latest --keyring=keys/dummy.keyring.pem info \
output/dummy.raucb
```