mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-21 04:46:17 +00:00

Reviewers: klimek, chandlerc, mehdi_amini Reviewed By: klimek, mehdi_amini Subscribers: mehdi_amini, jlebar, llvm-commits Differential Revision: https://reviews.llvm.org/D34197 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306810 91177308-0d34-0410-b5e6-96231b3b80d8
27 lines
946 B
Docker
27 lines
946 B
Docker
#===- llvm/utils/docker/example/build/Dockerfile -------------------------===//
|
|
#
|
|
# The LLVM Compiler Infrastructure
|
|
#
|
|
# This file is distributed under the University of Illinois Open Source
|
|
# License. See LICENSE.TXT for details.
|
|
#
|
|
#===----------------------------------------------------------------------===//
|
|
# This is an example Dockerfile to build an image that compiles clang.
|
|
# Replace FIXMEs to prepare your own image.
|
|
|
|
# FIXME: Replace 'ubuntu' with your base image
|
|
FROM ubuntu
|
|
|
|
# FIXME: Change maintainer name
|
|
LABEL maintainer "Maintainer <maintainer@email>"
|
|
|
|
# FIXME: Install llvm/clang build dependencies. Including compiler to
|
|
# build stage1, cmake, subversion, ninja, etc.
|
|
|
|
# Arguments to pass to build_install_clang.sh.
|
|
ARG buildscript_args
|
|
|
|
# Run the build. Results of the build will be available as /tmp/clang.tar.gz.
|
|
ADD scripts/build_install_llvm.sh /tmp
|
|
RUN /tmp/build_install_llvm.sh ${buildscript_args}
|