-
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.
- Loading branch information
1 parent
32a0015
commit 632b4a3
Showing
2 changed files
with
12 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
FROM ubuntu:22.04 | ||
FROM fedora:41 | ||
|
||
RUN apt update && \ | ||
apt install -y htop wget && \ | ||
rm -rf /var/lib/apt/lists/* | ||
RUN dnf install -y \ | ||
dotnet-sdk-8.0 \ | ||
htop \ | ||
wget && \ | ||
dnf clean all | ||
|
||
WORKDIR /mnt/code | ||
|
||
CMD ["/bin/bash"] |
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
.PHONY: format build-release build-dev-container run-dev-container | ||
.PHONY: format build-release dev-container-build dev-container-run | ||
|
||
format: | ||
find . -type f \( -name "*.fs" -o -name "*.fsx" \) -not -path "*obj*" | xargs fantomas | ||
|
||
build-release: | ||
dotnet fsi src/make_release.fsx build | ||
|
||
build-dev-container: | ||
dev-container-build: | ||
podman build -t dotnet-dev -f Containerfile | ||
|
||
run-dev-container: | ||
podman run --rm -it dotnet-dev | ||
dev-container-run: | ||
podman run --rm -it -v $(shell pwd):/mnt/code:z dotnet-dev |