Skip to content

Commit cb529ae

Browse files
committed
add libudev-dev and some minor fixes, update readme
1 parent 4b8723a commit cb529ae

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/docker-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
password: ${{ secrets.GITHUB_TOKEN }}
5656

5757
- name: Extract metadata for Docker
58-
id: meta-website
58+
id: meta-image
5959
uses: docker/metadata-action@v5
6060
with:
6161
images: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
@@ -64,7 +64,7 @@ jobs:
6464
type=raw,value=latest,enable={{is_default_branch}}
6565
6666
- name: Build and push Docker image
67-
id: push-website
67+
id: push-image
6868
uses: docker/build-push-action@v6
6969
with:
7070
context: .

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@ RUN apt-get update && apt-get install -y \
88
build-essential \
99
pkg-config \
1010
libssl-dev \
11+
libudev-dev \
1112
&& apt-get clean \
1213
&& rm -rf /var/lib/apt/lists/*
1314

1415
# Switch to runner user and install Rust
1516
USER runner
1617
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable \
1718
&& /home/runner/.cargo/bin/rustup component add clippy rustfmt \
18-
&& /home/runner/.cargo/bin/rustup target add x86_64-unknown-linux-musl
19+
&& /home/runner/.cargo/bin/rustup target add x86_64-unknown-linux-gnu
1920

2021
# Add Rust to PATH for runner user
2122
ENV PATH="/home/runner/.cargo/bin:${PATH}"

build.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)