fix Dockerfile

This commit is contained in:
Michael Kuzmin 2017-05-16 08:49:32 +03:00
parent df40bd8a76
commit 29593bb509
3 changed files with 3 additions and 5 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
.idea/ .idea/
.glide/
vendor/ vendor/
packer-builder-vsphere packer-builder-vsphere
bin/

View File

@ -15,7 +15,7 @@ $ glide install
4. Build the binaries 4. Build the binaries
``` ```
$ sudo docker-compose up $ docker-compose run build
``` ```
5. The template for this builder is like following: 5. The template for this builder is like following:

View File

@ -1,9 +1,5 @@
FROM golang:1.7.1 FROM golang:1.7.1
ARG GLIDE_VERSION=0.12.3 ARG GLIDE_VERSION=0.12.3
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get -qq update && \
apt-get -y install zip
RUN wget -nv https://github.com/Masterminds/glide/releases/download/v$GLIDE_VERSION/glide-v$GLIDE_VERSION-linux-amd64.tar.gz -O- | \ RUN wget -nv https://github.com/Masterminds/glide/releases/download/v$GLIDE_VERSION/glide-v$GLIDE_VERSION-linux-amd64.tar.gz -O- | \
tar xzf - -C /usr/local/bin/ --strip-components=1 linux-amd64/glide tar xzf - -C /usr/local/bin/ --strip-components=1 linux-amd64/glide