about summary refs log tree commit diff homepage
path: root/scripts/build/Dockerfile_base
blob: 8daee330edef8a62b5cfebff65b9f0d0b3480bbf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Build dependencies for LLVM
FROM ubuntu:16.04
LABEL maintainer="Martin Nowack <m.nowack@imperial.ac.uk>"

ENV DOCKER_BUILD=1

# Define all variables that can be changed as argument to docker build
ARG BASE=/tmp

# Copy across all source files
ADD /scripts/build/* scripts/build/

# Install packages
RUN scripts/build/dependencies-ubuntu.sh && rm -rf /var/lib/apt/lists/*
WORKDIR $BASE