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 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
#specify the base OS
FROM ubuntu:latest
#Running apt updates on OS
ENV DEBIAN_FRONTEND noninteractive
SHELL ["/bin/bash", "-c"]
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 install curl -y
RUN apt-get install flac -y
RUN apt-get install zip -y
RUN apt-get install gzip -y
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
RUN apt-get install nodejs -y
RUN npm i -g jsdoc
RUN apt-get build-dep csound -y
#setting up emsdk
RUN git clone https://github.com/emscripten-core/emsdk.git
RUN cd emsdk/ && git pull && ./emsdk install latest && ./emsdk activate latest
#Running build commands once container starts
CMD ["/bin/bash" , "-c" , "source emsdk/emsdk_env.sh && git clone https://github.com/csound/csound.git && cd csound/Emscripten && sh ./download_and_build_libsndfile.sh || sh ./build.sh && sh ./update_example_libs_from_dist.sh && sh ./release.sh"]
ENV DEBIAN_FRONTEND teletype
|