build: use the main dockerfile for building, remove .dev
What changed, and why it matters
This commit is a routine build-system cleanup. It removes a development-only Dockerfile and switches the docker-compose setup to use a pre-built container image instead of building one locally. There is no indication this change fixes or introduces a security vulnerability.
No security action required. Reviewers may verify the pinned image hash and ensure the new builder image is maintained and scanned, but this is standard supply-chain hygiene rather than a response to a disclosed issue.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff deletes Dockerfile.dev and updates docker-compose.yml so the ‘dev’ service uses a pinned upstream image (blockstream/jade_builder@sha256:…) rather than building from a local Dockerfile based on blockstream/verde. The compose service still runs privileged and mounts host serial devices, which is expected for hardware-wallet development workflows. No application, cryptographic, or firmware code is changed.
Changed components
Dockerfile.devdocker-compose.ymlInspect captured patch +8 / −21
diff --git a/Dockerfile.dev b/Dockerfile.dev
deleted file mode 100644
index 85e2492..0000000
--- a/Dockerfile.dev
+++ /dev/null
@@ -1,8 +0,0 @@
-FROM blockstream/verde@sha256:9171360dae48d3fba7c0f36ab5eb45e2529d178a603e89197cb08fb123ca619e
-
-RUN echo "source /root/esp/esp-idf/export.sh" >> /etc/bash.bashrc
-
-COPY .git /host/jade/.git
-RUN git clone /host/jade/ /jade
-WORKDIR /jade
-RUN git submodule update --init --recursive
diff --git a/docker-compose.yml b/docker-compose.yml
index e3d7468..e119fd0 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,14 +1,9 @@
-version: "3.7"
services:
- dev:
- build:
- context: .
- dockerfile: Dockerfile.dev
- volumes:
- - type: bind
- source: .git
- target: /host/jade/.git
- devices:
- - "/dev/ttyUSB0:/dev/ttyUSB0"
- privileged: true
- tty: true
+ dev:
+ image: blockstream/jade_builder@sha256:6937ea8808b89fe3510af6e156da4495d313c0ec7d3370108896ed50b605d237
+ volumes:
+ - .:/host/jade/
+ - /dev/serial/by-id:/dev/serial/by-id
+ working_dir: /host/jade/
+ privileged: true
+ tty: true
Why this scored 11/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.