ofxOscMidi-docker/Dockerfile

34 lines
1.4 KiB
Docker
Raw Permalink Normal View History

2021-04-09 21:39:25 +00:00
FROM debian:10
LABEL name=ofxOscMidi
WORKDIR /opt/
RUN apt update && apt install -y --no-install-recommends curl unzip build-essential
RUN curl -k https://openframeworks.cc/versions/v0.11.2/of_v0.11.2_linux64gcc6_release.tar.gz -O && tar -xf of_v0.11.2_linux64gcc6_release.tar.gz
COPY install.sh /opt
RUN cd /opt && bash /opt/install.sh
RUN bash /opt/of_v0.11.2_linux64gcc6_release/scripts/linux/compileOF.sh -j6
RUN curl -k https://codeload.github.com/Andymann/ofxOscMidi/zip/refs/heads/main -o ./of_v0.11.2_linux64gcc6_release/apps/myApps/oscMidi.zip && \
unzip of_v0.11.2_linux64gcc6_release/apps/myApps/oscMidi.zip && rm /opt/of_v0.11.2_linux64gcc6_release/apps/myApps/oscMidi.zip
RUN curl -k https://codeload.github.com/braitsch/ofxDatGui/zip/refs/heads/master -o ./of_v0.11.2_linux64gcc6_release/addons/ofxDatGui.zip && \
unzip of_v0.11.2_linux64gcc6_release/addons/ofxDatGui.zip
RUN curl -k https://codeload.github.com/danomatika/ofxMidi/zip/refs/heads/master -o ./of_v0.11.2_linux64gcc6_release/addons/ofxMidi.zip && \
unzip of_v0.11.2_linux64gcc6_release/addons/ofxMidi.zip
RUN curl -k https://codeload.github.com/bakercp/ofxNetworkUtils/zip/refs/heads/master -o ./of_v0.11.2_linux64gcc6_release/addons/ofxNetworkUtils.zip && \
unzip of_v0.11.2_linux64gcc6_release/addons/ofxNetworkUtils.zip
RUN cd /opt/of_v0.11.2_linux64gcc6_release/apps/myApps/emptyExample/ && make
# Start the main process.
CMD ["/bin/bash"]