build fixes (#530)

* enable source repos needed for apt-get build-deps

* enable source repos needed for apt-get build-deps
This commit is contained in:
David Tardon 2017-04-14 16:19:45 +02:00 committed by Abhishek Arya
parent d269fb780e
commit be3bc3b4ed
2 changed files with 5 additions and 0 deletions

View File

@ -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 \

View File

@ -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