Skip to content

Commit 68eaae2

Browse files
authored
Merge pull request #6 from Baker-link-Lab/copilot/fix-remaining-errors
Fix Dev Container startup: missing libudev-dev in Dockerfile and local build fallback in compose
2 parents 37b13d1 + b54c21f commit 68eaae2

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
FROM rust:1.94.1-bookworm
22

3+
RUN apt-get update && apt-get install -y libudev-dev pkg-config && rm -rf /var/lib/apt/lists/*
34
RUN rustup target install thumbv6m-none-eabi
45
RUN cargo install flip-link --version 0.1.12
56
RUN rustup component add rustfmt

.docker/compose.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
services:
22
{{project-name}}:
3+
build:
4+
context: .
5+
dockerfile: Dockerfile
36
image: "ghcr.io/baker-link-lab/bakerlink-env:latest"
47
container_name: "{{project-name}}-container"
58
volumes:

0 commit comments

Comments
 (0)