Skip to content

Commit

Permalink
Merge pull request #1226 from nhlfr/dockerfile-cleanup
Browse files Browse the repository at this point in the history
Clean apt archives and source directories in Dockerfile
  • Loading branch information
hqhq authored Dec 17, 2016
2 parents 083933f + 5032f43 commit 27a67c9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ RUN apt-get update && apt-get install -y \
protobuf-c-compiler \
protobuf-compiler \
python-minimal \
--no-install-recommends
--no-install-recommends \
&& apt-get clean

# install bats
RUN cd /tmp \
Expand All @@ -34,7 +35,8 @@ ENV CRIU_VERSION 1.7
RUN mkdir -p /usr/src/criu \
&& curl -sSL https://github.com/xemul/criu/archive/v${CRIU_VERSION}.tar.gz | tar -v -C /usr/src/criu/ -xz --strip-components=1 \
&& cd /usr/src/criu \
&& make install-criu
&& make install-criu \
&& rm -rf /usr/src/criu

# install shfmt
RUN mkdir -p /go/src/github.com/mvdan \
Expand Down

0 comments on commit 27a67c9

Please sign in to comment.