Public | Automated Build

Last pushed: 2 years ago
Short Description
Slim docker image for go. Part of nanoservice: https://github.com/nanoservice
Full Description

slim docker image for go

on docker hub

Part of nanoservice image library.

Usage

Put Dockerfile inside of your service:

FROM nanoservice/go

ADD . /go/src/github.com/username/app
WORKDIR /go/src/github.com/username/app

RUN go install
RUN go test

ENTRYPOINT ["app"]

Build it: docker built -t my-app ..

Run it: docker run my-app.

Enjoy!

Contributing

  1. Fork it ( https://github.com/nanoservice/docker-go/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • waterlink Oleksii Fedorov, creator, maintainer
Docker Pull Command
Owner
nanoservice
Source Repository

Comments (0)