Sign inSign up

nanoservice/go

By nanoservice

•Updated about 11 years ago

Slim docker image for go. Part of nanoservice: https://github.com/nanoservice

Image
0

2.5K

nanoservice/go repository overview

⁠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

Tag summary

Content type

Image

Digest

sha256:207b97754…

Size

54.4 MB

Last updated

about 11 years ago

docker pull nanoservice/go