nanoservice / docker-go

Tiny docker image with go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Tiny docker image with go

License:MIT License