gocker

command module
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2018 License: MIT Imports: 7 Imported by: 0

README

Gocker

Let's you quickly run any go * command inside of a Docker container.

$ gocker -go-version 1.9 -go-mods off test -v ./...

Generates and runs a Dockerfile similar to:

FROM golang:1.9

ENV GO111MODULE=off

WORKDIR $GOPATH/src/github.com/markbates/gocker

COPY . .

RUN go get -v

RUN go test -v ./...

Usage

$ gocker -h

-dry-run
    dry run
-go-mods string
    turn on/off Go Modules (default "on")
-go-version string
    go version to run (default "latest")
-path string
    path to use in Docker for WORKDIR
-with-dep
    with dep management

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
genny
gocker
You can use the "packr clean" command to clean up this, and any other packr generated files.
You can use the "packr clean" command to clean up this, and any other packr generated files.
You can use the "packr2 clean" command to clean up this, and any other packr generated files.
You can use the "packr2 clean" command to clean up this, and any other packr generated files.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL