Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# -----------------------------------------------------------------------------
# Dockerfile for building pico-loader (with .NET 9.0)
# -----------------------------------------------------------------------------

FROM --platform=linux/amd64 skylyrac/blocksds:dev-latest

WORKDIR /workdir

RUN apt-get update && apt-get install -y \
git \
make \
wget \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*

RUN wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
&& dpkg -i packages-microsoft-prod.deb \
&& rm packages-microsoft-prod.deb \
&& apt-get update \
&& apt-get install -y dotnet-sdk-9.0 \
&& rm -rf /var/lib/apt/lists/*

ENV TARGET_PLATFORM=DSPICO

COPY . .

CMD ["sh", "-c", "make clean && make PICO_PLATFORM=${TARGET_PLATFORM}"]