2016-07-26 22:25:13 +00:00
|
|
|
# Copyright 2016 Google Inc.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-03-22 19:12:51 +00:00
|
|
|
FROM gcr.io/oss-fuzz-base/base-builder
|
2018-08-13 17:44:55 +00:00
|
|
|
MAINTAINER prince.cherusker@gmail.com
|
2018-07-22 18:12:30 +00:00
|
|
|
|
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get install -y \
|
|
|
|
autoconf \
|
|
|
|
cmake \
|
|
|
|
libpng-dev \
|
|
|
|
libtool \
|
2018-07-22 23:54:06 +00:00
|
|
|
pkg-config \
|
2018-07-22 18:12:30 +00:00
|
|
|
zlib1g-dev \
|
|
|
|
make
|
2016-10-10 20:21:45 +00:00
|
|
|
|
2016-12-28 22:01:23 +00:00
|
|
|
# Get some files for the seed corpus
|
|
|
|
ADD https://github.com/adobe-fonts/adobe-variable-font-prototype/releases/download/1.001/AdobeVFPrototype.otf $SRC/font-corpus/
|
2017-01-18 00:40:26 +00:00
|
|
|
RUN git clone https://github.com/unicode-org/text-rendering-tests.git && cp text-rendering-tests/fonts/* $SRC/font-corpus
|
2016-12-28 22:01:23 +00:00
|
|
|
|
2018-07-19 18:06:57 +00:00
|
|
|
RUN git clone --depth 1 https://github.com/freetype/freetype2-testing.git
|
2018-07-13 19:12:52 +00:00
|
|
|
WORKDIR freetype2-testing
|
|
|
|
|
2018-07-19 18:06:57 +00:00
|
|
|
COPY build.sh $SRC/
|