30 lines
1.1 KiB
INI
30 lines
1.1 KiB
INI
FROM fedora:latest
|
|
|
|
# Source build packages locally
|
|
ARG DOCKER_BUILD_PROXY
|
|
ENV DOCKER_BUILD_PROXY $DOCKER_BUILD_PROXY
|
|
|
|
# Install common build tools
|
|
RUN dnf -y install deltarpm
|
|
RUN dnf -y upgrade
|
|
RUN dnf -y --allowerasing install @"Minimal Install" @buildsys-build yum-utils rpm-sign gnupg rpmdevtools
|
|
|
|
# Install real mono for building
|
|
# Instructions from here: https://www.mono-project.com/download/stable/#download-lin-fedora
|
|
RUN rpm --import "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
|
|
RUN curl https://download.mono-project.com/repo/centos8-stable.repo | tee /etc/yum.repos.d/mono-centos8-stable.repo
|
|
RUN dnf -y update
|
|
|
|
# Install mono things
|
|
RUN dnf -y install mono-devel gnome-sharp-devel dos2unix git nuget
|
|
|
|
# Fix nuget
|
|
RUN cert-sync /etc/pki/tls/certs/ca-bundle.crt
|
|
RUN nuget update -self
|
|
|
|
label org.label-schema.name = "duplicati/fedora-build" \
|
|
org.label-schema.version = "20161230" \
|
|
org.label-schema.vendor="Deployable" \
|
|
org.label-schema.docker.cmd="docker run -ti duplicati/fedora-build" \
|
|
org.label-schema.schema-version="1.0"
|