This Rug archive contains editors for a Go kit projects.
The AddGokitMicroserviceDockerfile Editor adds an appropriate Docker Dockerfile to an existing Go kit project.
There are no prerequisites to running this editor.
To run this editor you must supply the following parameters.
Name | Required | Default | Description |
---|---|---|---|
maintainer_name |
Yes | Name of the project maintainer to be used in the resulting Dockerfile. | |
maintainer_email |
Yes | The project maintainer's email address to be used in the resulting Dockerfile. |
Run it as follows:
$ cd parent/directory
$ rug edit atomist-rugs:gokit-rest-service:AddGokitMicroserviceDockerfile \
maintainer_name="The Dude" \
maintainer_email="thedude@hollywoodstarlanes.com"
This will create an appropriate Docker Dockerfile in a docker
directory named pet-shop-service
. If you are happy
with the change, commit the changes.
$ git add .
$ git commit -m 'Dockerfile added by Atomist'
Created by Atomist. Need Help? Join our Slack team