Files
duplicati/Installer/debian/Dockerfile.build
T
Kenneth Skovhede 56f70b62c9 Added scripts to build deb and rpm packages locally through Docker.
Changed Windows build to use a local virtual machine.
Updated installer build script to use the local builds instead of the AWS ones.
2017-01-14 12:10:55 +01:00

28 lines
809 B
INI

FROM ubuntu:latest
# Source build packages locally
ARG DOCKER_BUILD_PROXY
ENV DOCKER_BUILD_PROXY $DOCKER_BUILD_PROXY
# Install common build tools
RUN set -uex; \
export http_proxy=${HTTP_PROXY-${DOCKER_BUILD_PROXY}}; \
apt-get update; \
apt-get install --no-install-suggests --no-install-recommends -y \
build-essential \
debhelper \
dpkg-dev \
mono-devel \
libappindicator0.1-cil-dev \
ca-certificates-mono \
gtk-sharp2 \
nuget; \
apt-get clean all
RUN nuget update -self
label org.label-schema.name = "duplicati/debian-build" \
org.label-schema.version = "20161230" \
org.label-schema.vendor="Deployable" \
org.label-schema.docker.cmd="docker run -ti duplicati/debian-build" \
org.label-schema.schema-version="1.0"