-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build watchexec in a docker image used for the feature spec
- Loading branch information
Showing
3 changed files
with
13 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Stage 1: Build watchexec with Rust | ||
FROM rust:1.83.0-slim-bullseye AS rust-builder | ||
|
||
# Install necessary dependencies for Rust | ||
RUN apt-get update -qq && \ | ||
apt-get install --no-install-recommends -y build-essential git | ||
|
||
# Install watchexec | ||
RUN cargo install watchexec-cli | ||
|
||
# Verify installation | ||
RUN watchexec --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters