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
|
#specify the base OS
FROM npetrovsky/docker-android-sdk-ndk
#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 apt-get install flex -y
RUN apt-get install bison -y
RUN apt-get install swig -y
RUN apt-get install texlive-full -y
#RUN apt-get build-dep csound -y
CMD ["/bin/bash" , "-c" , "git clone -b csound6 https://github.com/csound/csound.git && cd csound && export ANDROID_NDK_ROOT=\"/opt/android-sdk-linux/ndk-bundle\" && export NDK_MODULE_PATH=\"/csound/Android/\" && cd Android/ && ./downloadDependencies.sh && ./build-all.sh &&./release.sh"]
|