mirror of
https://github.com/containers/skopeo.git
synced 2025-10-21 19:03:44 +00:00
statement. From the [docs](https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/#build-cache) in March 2017: Always combine RUN apt-get update with apt-get install in the same RUN statement, for example RUN apt-get update && apt-get install -y package-bar Using apt-get update alone in a RUN statement causes caching issues and subsequent apt-get install instructions fail. Signed-off-by: Jing Qiu <aqiu0720@gmail.com>
13 lines
225 B
Docker
13 lines
225 B
Docker
FROM ubuntu:16.04
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
golang \
|
|
btrfs-tools \
|
|
git-core \
|
|
libdevmapper-dev \
|
|
libgpgme11-dev \
|
|
go-md2man
|
|
|
|
ENV GOPATH=/
|
|
WORKDIR /src/github.com/projectatomic/skopeo
|