llvm-project/libcxx/utils/docker/debian9/compilers/gcc.Dockerfile

25 lines
775 B
Docker

#===- libcxx/utils/docker/debian9/Dockerfile --------------------------------------------------===//
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===-------------------------------------------------------------------------------------------===//
# Build GCC versions
FROM ericwf/llvm-builder-base:latest
LABEL maintainer "libc++ Developers"
ARG branch
ARG cherry_pick=""
ARG install_prefix
ARG cache_date=stable
ADD scripts/build_gcc_version.sh /tmp/
RUN /tmp/build_gcc_version.sh \
--install "$install_prefix" \
--branch "$branch" \
--cherry-pick "$cherry_pick" \
&& rm /tmp/build_gcc_version.sh