Skip to content

Commit

Permalink
move to fedora
Browse files Browse the repository at this point in the history
  • Loading branch information
ultimateanu committed Feb 8, 2025
1 parent 32a0015 commit 632b4a3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
12 changes: 8 additions & 4 deletions Containerfile
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"]
8 changes: 4 additions & 4 deletions Makefile
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

0 comments on commit 632b4a3

Please sign in to comment.