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 2K
May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11
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 2 6 3 2 5 3 2 0 0 3 6 7 5 2 1 5 0 2 3 2 2 6 2 2 2 4 0 1 1 5 4 7 6 1 3 2 5 2 4 2 2 3 3 3 2 3
Linux 0 4 4 1 4 1 2 3 3 5 3 4 2 2 4 3 2 1 2 3 1 0 2 3 2 1 3 1 3 3 5 1 5 2 3 1 1 4 4 1 0 0 1 2 0 5

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