2016-06-01 10:14:22 -05:00
|
|
|
FROM ubuntu:xenial
|
|
|
|
|
|
|
|
# curl
|
|
|
|
# Download stage0, see src/bootstrap/bootstrap.py
|
|
|
|
# g++
|
|
|
|
# Compile LLVM binding in src/rustllvm
|
2016-06-20 05:31:07 -05:00
|
|
|
# gdb
|
|
|
|
# Used to run tests in src/test/debuginfo
|
2016-06-01 10:14:22 -05:00
|
|
|
# git
|
|
|
|
# Get commit hash and commit date in version string
|
|
|
|
# make
|
|
|
|
# Run build scripts in mk
|
|
|
|
# libedit-dev zlib1g-dev
|
|
|
|
# LLVM dependencies as packaged in Ubuntu
|
|
|
|
# (They are optional, but Ubuntu package enables them)
|
|
|
|
# llvm-3.7-dev (installed by llvm-3.7-tools)
|
|
|
|
# LLVM
|
|
|
|
# llvm-3.7-tools
|
|
|
|
# FileCheck is used to run tests in src/test/codegen
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get -y install \
|
2016-06-20 05:31:07 -05:00
|
|
|
curl g++ gdb git make \
|
2016-06-01 10:14:22 -05:00
|
|
|
libedit-dev zlib1g-dev \
|
2016-06-01 19:41:27 -05:00
|
|
|
llvm-3.7-tools cmake
|
|
|
|
|
2016-06-01 10:14:22 -05:00
|
|
|
RUN mkdir /build
|
|
|
|
WORKDIR /build
|