Dockerfile.build: using ubuntu 17.04

ubuntu 16.04 have not package `libostree-dev`. also, we should
install `libglib2.0-dev` package when build skopeo with command `make binary`.

Signed-off-by: 0x0916 <w@laoqinren.net>
This commit is contained in:
0x0916 2017-06-22 17:13:28 +08:00
parent 4470b88c50
commit d57934d529

View File

@ -1,4 +1,4 @@
FROM ubuntu:16.04 FROM ubuntu:17.04
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
golang \ golang \
@ -6,7 +6,9 @@ RUN apt-get update && apt-get install -y \
git-core \ git-core \
libdevmapper-dev \ libdevmapper-dev \
libgpgme11-dev \ libgpgme11-dev \
go-md2man go-md2man \
libglib2.0-dev \
libostree-dev
ENV GOPATH=/ ENV GOPATH=/
WORKDIR /src/github.com/projectatomic/skopeo WORKDIR /src/github.com/projectatomic/skopeo