Sign inSign up

samdoshi/norns-dev

By samdoshi

•Updated about 8 years ago

Provides build and run-time dependencies for Norns development

Image
0

137

samdoshi/norns-dev repository overview

⁠samdoshi/norns-dev

⁠About this Docker image

This Docker image contains both the build-time and run-time dependencies for matron⁠ and maiden⁠

Please visit github.com/samdoshi/norns-dev⁠ for information on how to use this image to set up a build environment customised to your requirements.

The image makes available:

Please see install.sh and install-lib.sh to see exactly what is installed.

⁠Summary of Makefile targets

  • build: builds the Docker image and tags it as samdoshi/norns-dev.
  • run: runs the image with increased /dev/shm size and a higher rtprio so that jackd works, and then drops you at a bash prompt.

⁠Tips and tricks

We're using a single RUN directive to set up the image, partly to keep the image as small as possible, but also to avoid having a very large Dockerfile that is hard to edit. However, if you're trying to make changes, it can be frustrating having to run the entirety of install.sh for every small change you make.

The best technique is to either comment out the RUN /tmp/install/install.sh line in the Dockerfile, then a make build followed by a make run will leave you at a bash prompt where you can manually run the individual install_* functions (after sourcing install-lib.sh).

e.g.:

# on the host
$ make build
$ make run
# we're now inside the container
$ source /tmp/install/install-lib.sh
$ install_apt
$ install_packages
# etc, etc

At this point you can interactively configure and compile software, and then use what you've learned to update install-lib.sh.

Alternatively, you can comment out steps in install.sh to have make build create a partially built image.

⁠Notes

supercollider and sc3-plugins are built with make -j1 to reduce the amount of memory required so that they build as 'automated builds' on Docker Hub, or in the default 2GB Docker for Mac virtual machine.

Tag summary

Content type

Image

Digest

Size

564 MB

Last updated

about 8 years ago

docker pull samdoshi/norns-dev