drone docker image
This commit is contained in:
parent
39286ab94a
commit
0a64ab69eb
3 changed files with 38 additions and 97 deletions
25
BaseCompileImage/Dockerfile
Normal file
25
BaseCompileImage/Dockerfile
Normal file
|
@ -0,0 +1,25 @@
|
|||
FROM ubuntu:focal
|
||||
RUN export DEBIAN_FRONTEND=noninteractive \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
wget \
|
||||
ca-certificates \
|
||||
\
|
||||
# Install Microsoft package feed
|
||||
&& wget -q https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
|
||||
&& dpkg -i packages-microsoft-prod.deb \
|
||||
&& rm packages-microsoft-prod.deb \
|
||||
\
|
||||
# Install .NET
|
||||
&& apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
apt-transport-https \
|
||||
dotnet-sdk-5.0 \
|
||||
dotnet-sdk-3.1 \
|
||||
libpng16-16 \
|
||||
libnvtt-dev \
|
||||
\
|
||||
# Cleanup
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN dotnet tool install -g dotnet-mgcb
|
Loading…
Add table
Add a link
Reference in a new issue