1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
#specify the base OS
From ubuntu:latest
#Running apt updates on OS
ENV DEBIAN_FRONTEND noninteractive
RUN sed -i -- 's/#deb-src/deb-src/g' /etc/apt/sources.list && sed -i -- 's/# deb-src/deb-src/g' /etc/apt/sources.list
RUN apt-get update -y
#RUN apt-get upgrade -y
#Running installations on the os
RUN apt-get install git -y
RUN apt-get install cmake -y
RUN apt-get install g++ -y
RUN apt-get install vim -y
RUN apt-get install wget -y
RUN apt-get build-dep csound -y
#Running build commands once container starts
CMD git clone https://github.com/csound/csound.git && cd csound && git checkout csound6 && mkdir cs6make && cd cs6make && cmake .. && make -j6 && make install
ENV DEBIAN_FRONTEND teletype
|