Skip to content

Commit f668c8f

Browse files
committed
Add csharpier to docker image
1 parent 392bc7d commit f668c8f

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Dockerfile

+7-3
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,17 @@ RUN cargo build --release
4646
FROM docker.io/ubuntu:noble
4747

4848
ENV DEBIAN_FRONTEND=noninteractive
49+
ENV PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.cargo/bin/:/root/.dotnet/tools"
4950

5051
RUN apt-get update && \
51-
apt-get install -y --no-install-recommends curl default-jre-headless && \
52+
apt-get install -y --no-install-recommends curl default-jre-headless dotnet8 && \
5253
apt-get clean
5354

54-
# Rust
55+
56+
# C#
57+
RUN dotnet tool install csharpier --version 0.30.6 -g
58+
59+
# # Rust
5560
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \
5661
-y \
5762
--profile minimal \
@@ -60,7 +65,6 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \
6065
--default-toolchain nightly-2025-02-27 \
6166
--component rustfmt
6267

63-
ENV PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.cargo/bin/"
6468

6569
# Javascript
6670
COPY --from=ghcr.io/biomejs/biome:1.9.4 /usr/local/bin/biome /usr/bin/biome

0 commit comments

Comments
 (0)