Install curl in build image

This commit is contained in:
Mickael Remond 2018-01-01 19:08:37 +01:00
parent d13e87f5bb
commit 4016e15a6a
No known key found for this signature in database
GPG Key ID: E6F6045D79965AA3

View File

@ -1,4 +1,9 @@
FROM golang:1.9
WORKDIR /go/src/fluux.io/xmpp
COPY . ./
RUN apt-get update \
&& apt-get install -y \
curl curl \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
RUN go get -t -v ./...