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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址