https://github.com/giuliojiang/pbrt-v3-IILE/
Raw File
Tip revision: b9be01096293ab0f50b14b9043556c93ff9e07ec authored by Giulio Jiang on 31 July 2021, 09:21:41 UTC
Create CNAME
Tip revision: b9be010
Dockerfile
FROM ubuntu:12.04
MAINTAINER Amit Bakshi <ambakshi@gmail.com>

ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -yq
RUN apt-get install -yq python-software-properties
RUN add-apt-repository -y ppa:ubuntu-toolchain-r/test
RUN apt-get update -yq
RUN apt-get install -yq build-essential gcc-4.8 g++-4.8 cmake make bison flex libpthread-stubs0-dev
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.6
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 40 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8
RUN echo 2 | update-alternatives --config gcc
ADD . /app
WORKDIR /app/build
RUN cmake -G 'Unix Makefiles' ..
CMD ["/usr/bin/make","-j2"]
back to top