2018-02-04 04:25:19 +00:00
|
|
|
# Copyright 2018 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.
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
FROM gcr.io/oss-fuzz-base/base-builder
|
2020-03-28 17:11:33 +00:00
|
|
|
RUN apt-get update && apt-get install -y mercurial automake autopoint cmake libtool nasm pkg-config po4a
|
2021-02-13 02:36:09 +00:00
|
|
|
RUN hg clone --time -b default https://hg.osdn.net/view/graphicsmagick/GM graphicsmagick || \
|
|
|
|
hg clone --time -b default https://hg.osdn.net/view/graphicsmagick/GM graphicsmagick || \
|
|
|
|
hg clone --time -b default https://hg.osdn.net/view/graphicsmagick/GM graphicsmagick
|
2018-04-29 14:17:20 +00:00
|
|
|
|
|
|
|
RUN git clone --depth 1 https://gitlab.com/libtiff/libtiff
|
|
|
|
RUN git clone --depth 1 https://github.com/webmproject/libwebp
|
|
|
|
RUN git clone --depth 1 https://github.com/madler/zlib
|
2018-05-11 00:35:30 +00:00
|
|
|
RUN git clone --depth 1 https://github.com/xz-mirror/xz
|
2018-12-02 21:33:23 +00:00
|
|
|
RUN git clone --depth 1 https://github.com/facebook/zstd
|
2018-05-11 15:03:52 +00:00
|
|
|
RUN git clone --depth 1 https://github.com/libjpeg-turbo/libjpeg-turbo
|
2020-10-11 04:03:45 +00:00
|
|
|
RUN git clone https://git.savannah.nongnu.org/r/freetype/freetype2.git/
|
2019-07-19 00:20:40 +00:00
|
|
|
RUN git clone --depth 1 https://github.com/pnggroup/libpng
|
2018-04-29 14:17:20 +00:00
|
|
|
RUN git clone --depth 1 https://github.com/mm2/Little-CMS
|
2021-04-29 15:34:38 +00:00
|
|
|
RUN git clone http://git.ghostscript.com/ghostpdl.git
|
2019-06-08 14:38:51 +00:00
|
|
|
RUN git clone --depth 1 https://gitlab.com/federicomenaquintero/bzip2.git
|
2021-02-15 17:34:35 +00:00
|
|
|
RUN git clone --depth 1 https://github.com/jasper-software/jasper
|
|
|
|
RUN git clone --depth 1 https://gitlab.gnome.org/GNOME/libxml2.git
|
2018-04-29 14:17:20 +00:00
|
|
|
|
2018-02-04 04:25:19 +00:00
|
|
|
WORKDIR graphicsmagick
|
|
|
|
COPY build.sh $SRC/
|