2020-06-03 05:33:57 +08:00
|
|
|
# Basic Ubuntu 18.04 image with Boost and TBB installed. To be used for building further downstream packages.
|
|
|
|
|
2018-10-09 09:38:11 +08:00
|
|
|
# Get the base Ubuntu image from Docker Hub
|
2018-10-09 11:24:19 +08:00
|
|
|
FROM ubuntu:bionic
|
2018-10-09 09:38:11 +08:00
|
|
|
|
2020-06-03 05:33:57 +08:00
|
|
|
# Disable GUI prompts
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
|
2018-10-09 09:38:11 +08:00
|
|
|
# Update apps on the base image
|
2020-06-03 05:33:57 +08:00
|
|
|
RUN apt-get -y update && apt-get -y install
|
2018-10-09 09:38:11 +08:00
|
|
|
|
|
|
|
# Install C++
|
2020-06-03 05:33:57 +08:00
|
|
|
RUN apt-get -y install build-essential apt-utils
|
2018-10-09 09:38:11 +08:00
|
|
|
|
|
|
|
# Install boost and cmake
|
|
|
|
RUN apt-get -y install libboost-all-dev cmake
|
|
|
|
|
|
|
|
# Install TBB
|
|
|
|
RUN apt-get -y install libtbb-dev
|