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: 5 months 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 (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-07T19:40:42.000Z (almost 2 years ago)
- Last Synced: 2025-04-05T19:18:48.135Z (about 1 year 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
```