The baby was sick overnight, so apologies if my replies are incoherent.
I had to build SuperCollider from source to get it to run inside Docker, else it complained about a lack of X11 (need to disable QT), the following worked for me (pasted directly from the Dockerfile):
ENV SC_VERSION=3.9.3
RUN mkdir -p /tmp/sc && \
cd /tmp/sc && \
wget -q https://github.com/supercollider/supercollider/releases/download/Version-$SC_VERSION/SuperCollider-$SC_VERSION-Source-linux.tar.bz2 -O sc.tar.bz2 && \
tar xvf sc.tar.bz2
RUN cd /tmp/sc/SuperCollider-Source && \
mkdir -p build && \
cd build && \
cmake -DCMAKE_BUILD_TYPE="Release" \
-DBUILD_TESTING=OFF \
-DSUPERNOVA=OFF \
-DNATIVE=OFF \
-DSC_WII=OFF \
-DSC_QT=OFF \
-DSC_ED=OFF \
-DSC_EL=OFF \
-DSC_VIM=OFF \
.. && \
make -j && \
make install
Most of that is more or less copied from the GitHub repo listed at the bottom of the second post in this topic.
Thanks for that, I think I might have known about it, I think…
I suspect my short term memory won’t be recording today, so can someone remind me of it’s existence when the time comes to package our investigations up into a useful product.
Now that is pretty cool. I’ve always been really frustrated by the lack of sensible tooling for building Raspberry Pi images, most of it seems to be “do it on the device, then image the SD card”.
It will be interesting to see where this goes. Convergence between development environments and final image building would be awesome.
Just summerising for myself, there is the potential for:
- Docker dev env using NetJack2
- Vagrant x64 VM
- using NetJack2
- using USB passthrough
- using emulated audio
- Vagrant ARM VM
- using NetJack2 (crossplatform NetJack2?)
- using USB passthrough
- using emulated audio
- ARM image building
For now, I’ll stick with the first, we don’t want to get too ahead of ourselves!