From be3bc3b4ed59657194da65339a7dbcea9bbcaf00 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Fri, 14 Apr 2017 16:19:45 +0200 Subject: [PATCH] build fixes (#530) * enable source repos needed for apt-get build-deps * enable source repos needed for apt-get build-deps --- projects/dlplibs/Dockerfile | 2 ++ projects/libreoffice/Dockerfile | 3 +++ 2 files changed, 5 insertions(+) diff --git a/projects/dlplibs/Dockerfile b/projects/dlplibs/Dockerfile index b557b9cfb..edb1f0bce 100644 --- a/projects/dlplibs/Dockerfile +++ b/projects/dlplibs/Dockerfile @@ -16,6 +16,8 @@ FROM gcr.io/oss-fuzz-base/base-builder MAINTAINER dtardon@redhat.com +# enable source repos +RUN sed -i -e '/^#\s*deb-src.*\smain\s\+restricted/s/^#//' /etc/apt/sources.list # install build requirements RUN apt-get update RUN apt-get build-dep -y \ diff --git a/projects/libreoffice/Dockerfile b/projects/libreoffice/Dockerfile index fadaf9bec..520ef5a52 100644 --- a/projects/libreoffice/Dockerfile +++ b/projects/libreoffice/Dockerfile @@ -16,7 +16,10 @@ FROM gcr.io/oss-fuzz-base/base-builder MAINTAINER officesecurity@lists.freedesktop.org +# enable source repos +RUN sed -i -e '/^#\s*deb-src.*\smain\s\+restricted/s/^#//' /etc/apt/sources.list #build requirements +RUN apt-get update RUN apt-get build-dep -y libreoffice RUN apt-get install -y wget yasm #cache build dependencies