Build software in Stretch, Jessie and Trusty Docker containers
1.0K
A Dockerfile for images with basic software build tools.
Out of the box, packages are installed to build and run LinuxCNC/Machinekit, FreeCAD and some others. The Dockerfile is easily modified to support other software.
To build the image for Debian Squeeze (default), run
./docker-dev.sh -b
or for Ubuntu Xenial, run
./docker-dev.sh -b -s xenial
To run the image, cd to the source code tree, and to build for
Debian Squeeze (default), run
[...]/docker-dev.sh
or for Ubuntu Xenial, run
[...]/docker-dev.sh -s xenial
This will run a shell in the container in the following way:
dev-stretch
-n NAME argument$HOME will be bind-mounted in the same location
within the container$DISPLAY variable
will be set, and the container will run privilegedThe script runs an interactive bash shell by default. A command
with args may also be specified, for example:
$ [...]/docker-dev.sh -s xenial bash -c 'echo $SUITE'
xenial
To start an additional shell in the running Stretch (default) container, run
[...]/docker-dev.sh -e
or to run a command in the running Xenial container, run
[...]/docker-dev.sh -en xenial cmd arg1 arg2
Content type
Image
Digest
Size
940.1 MB
Last updated
almost 8 years ago
docker pull zultron/docker-dev