• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2017 Google Inc.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15################################################################################
16
17FROM gcr.io/oss-fuzz-base/base-sanitizer-libs-builder
18
19# Take all libraries from lib/msan
20RUN cp -R /usr/msan/lib/* /usr/lib/
21
22RUN mkdir /msan
23WORKDIR /msan
24
25ENV PYTHONUNBUFFERED 1
26RUN msan_build.py --work-dir=$WORK \
27    libarchive13 \
28    libattr1 \
29    libbz2-1.0 \
30    libfontconfig1 \
31    libfreetype6 \
32    libfribidi0 \
33    libglib2.0-0 \
34    libicu55  \
35    liblz4-1 \
36    liblzma5 \
37    liblzo2-2 \
38    libnettle6 \
39    libpcre2-posix0 \
40    libpcre3 \
41    libpng12-0 \
42    libssl1.0.0 \
43    libxml2 \
44    zlib1g \
45    /msan
46