mirror of
https://github.com/RPCS3/discord-bot.git
synced 2026-01-31 01:25:22 +01:00
add libgdiplus libraries to the container
This commit is contained in:
@@ -1,9 +1,16 @@
|
||||
FROM mcr.microsoft.com/dotnet/core/sdk:2.1 AS base
|
||||
# Native libgdiplus dependencies
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y --allow-unauthenticated libc6-dev libgdiplus libx11-dev
|
||||
RUN rm -rf /var/lib/apt/lists/*
|
||||
RUN ln -s /lib/x86_64-linux-gnu/libdl-2.24.so /lib/x86_64-linux-gnu/libdl.so
|
||||
# Regular stuff
|
||||
COPY packages /root/.nuget/packages/
|
||||
WORKDIR /src
|
||||
COPY . .
|
||||
RUN rm -rf ./packages
|
||||
RUN git status
|
||||
# Build and test everything
|
||||
RUN dotnet build "CompatBot/CompatBot.csproj" -c Release
|
||||
ENV RUNNING_IN_DOCKER true
|
||||
WORKDIR /src/CompatBot
|
||||
|
||||
Reference in New Issue
Block a user