Added docker-compose.yml to build firmware in local docker

This commit is contained in:
taichunmin
2025-02-13 15:48:11 +08:00
parent 5de83ab1db
commit 7f8242cf98
2 changed files with 28 additions and 0 deletions
+1
View File
@@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file.
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
## [unreleased][unreleased]
- Added `firmware/docker-compose.yml` to build firmware in local docker (@taichunmin)
- Added command to check keys of multiple sectors at once (@taichunmin)
- Fixed unused target key type parameter for nested (@petepriority)
- Skip already used items `hf mf elog --decrypt` (@p-l-)
+27
View File
@@ -0,0 +1,27 @@
# How to use this docker-compose.yml file:
# ========================================
# 1. Install [Docker](https://www.docker.com/)
# 2. Change the current directory to the `firmware/` directory
# 3. Run `docker compose up --pull=always build-ultra` to build the firmware for the ChameleonUltra
# 4. Run `docker compose up --pull=always build-lite` to build the firmware for the ChameleonLite
# 5. The firmware will be available in the `firmware/objects/` directory, you can build only one firmware at once.
# 6. Install the firmware `ultra-dfu-app.zip` or `lite-dfu-app.zip` (in DFU mode)
services:
build-ultra:
image: ghcr.io/rfidresearchgroup/chameleonultra-fw-builder:main
# image: ghcr.io/chameleonultra/chameleonultra-fw-builder:main
platform: linux/amd64
volumes:
- '../:/workdir:rw'
environment:
CURRENT_DEVICE_TYPE: ultra
command: bash ./firmware/build.sh
build-lite:
image: ghcr.io/rfidresearchgroup/chameleonultra-fw-builder:main
# image: ghcr.io/chameleonultra/chameleonultra-fw-builder:main
platform: linux/amd64
volumes:
- '../:/workdir:rw'
environment:
CURRENT_DEVICE_TYPE: lite
command: bash ./firmware/build.sh