Merge pull request #346 from jingqiuELE/master

Always combine RUN apt-get update with apt-get install in the same RUN statement.
This commit is contained in:
Antonio Murdaca 2017-05-25 14:54:31 +02:00 committed by GitHub
commit 07c798ff82

View File

@ -1,5 +1,12 @@
FROM ubuntu:16.04 FROM ubuntu:16.04
RUN apt-get update
RUN apt-get install -y golang btrfs-tools git-core libdevmapper-dev libgpgme11-dev go-md2man RUN apt-get update && apt-get install -y \
golang \
btrfs-tools \
git-core \
libdevmapper-dev \
libgpgme11-dev \
go-md2man
ENV GOPATH=/ ENV GOPATH=/
WORKDIR /src/github.com/projectatomic/skopeo WORKDIR /src/github.com/projectatomic/skopeo