Public Repository

Last pushed: 2 years ago
Short Description
A small Docker image for running Go apps built using Alpine Linux
Full Description

A small Docker image for running Go apps built using Alpine Linux

Repo

Usage
# running local code
docker run --rm -it \
    -v $(pwd):/gopath/src/github.com/my_user/my_project \
    jmervine/minigo \
    sh -C 'go get -v && go run main.go'
As a Dockerfile base
from jmervine/minigo:latest

env PROJECT "/gopath/src/github.com/my_user/my_project"

copy . $PROJECT

workdir $PROJECT

run set -x; \
    go get -v && \
    go test -v ./... && \
    go build -v

cmd ./my_project
Docker Pull Command
Owner
jmervine

Comments (0)