ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Docker Based Build Systems

by domeide OS XLinux ST2/ST3

A Sublime Text plugin to use Docker Language Stacks as build systems

Details

Installs

  • Total 4K
  • Win 0
  • OS X 2K
  • Linux 1K
Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
OS X 8 3 2 6 0 2 2 0 3 9 7 3 0 2 0 3 4 0 3 0 1 1 3 1 2 1 1 2 3 3 2 1 1 1 3 4 4 4 4 0 1 3 1 4 5 0
Linux 2 0 1 5 2 0 2 3 4 2 7 3 0 2 2 4 2 2 1 2 1 1 6 2 1 0 3 1 8 2 3 2 2 2 1 3 3 3 2 2 2 0 2 0 5 1

Readme

Source
raw.​githubusercontent.​com

SublimeDocker

A Sublime Text package that include some build systems that use Docker Language Stacks. It currently build python, ruby, perl, c/c++ (gcc), clojure, go (golang), java, Dockerfile and Fig configuration files.

Prerequisite

Requires Docker. You can get it here https://get.docker.com/.

Your user should belong to the Docker group to run docker without using sudo.

Installation

Install using SublimeText PackageControl. Otherwise you can also Download/Clone the package and put it in your Packages-directory.

Usage

After installing, you will find new options in Tools > Build system of your Sublime menu:

  • C++ in Docker Container
  • Clojure in Docker Container
  • Dockerfile
  • Fig
  • Go in Docker Container
  • Java in Docker Container
  • Perl in Docker Container
  • Python in Docker Container
  • Ruby in Docker Container

Build and run using Docker containers

Build System Menu

Remember, you can always launch the selected build with Control+B (Linux/Windows) or Command+B (OS X).

Select different versions

You can select specific interpreter/compiler variants with Control+Shift+P (Linux/Windows) or Command+Shift+P (OS X) and typing build to reduce the selection to the available build variants for the selected build system as shown below for various language build systems. Build VariantsBuild Variants

Dockerfile: build images and run containers with a dockerfile

Build Variants

Fig: Run multiple containers using fig.yml file

Build Variants