mirror of
https://github.com/ApfelTeeSaft/vanilla.git
synced 2026-08-26 19:33:44 +00:00
Docker for building
Since Vanilla's infrastructure can be somewhat complicated (and to aid in auto-building), there are Docker images for all supported platforms.
Usage is as follows for all platforms:
-
First, build the Docker image. We give it the tag
vanilla-build:latestbut you can choose anything.docker build -t vanilla-build:latest . -
Secondly, use the new Docker image to build. Two volumes must be mounted,
/vanillafor the source directory, and/installfor the final compiled file structure. The following paths (~/vanilla-srcand~/vanilla-build) are provided as an example, but you should select paths that make the most sense on your system.docker run -v ~/vanilla-src:/vanilla -v ~/vanilla-build:/install vanilla-build:latest
Docker should succeed, and the end result should be a ready-to-use application.