Created
November 2, 2017 22:06
-
-
Save wilk/f551e338136784723c1892180eebfe81 to your computer and use it in GitHub Desktop.
Setup service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
setup-golang: | |
# start by installing all the dependencies | |
command: glide install | |
image: data.golang1.9:1 | |
build: | |
# build the image from docker go dockerfile | |
dockerfile: docker/Dockerfile | |
context: ./go | |
volumes: | |
# mount the entire directory inside the container to mirror the same folder structure | |
- ./go:/go/src/app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment