Skip to content

Commit

Permalink
Merge pull request RIOT-OS#3 from gebart/pr/less-layers
Browse files Browse the repository at this point in the history
Less layers by joining commands
  • Loading branch information
OlegHahm committed May 21, 2015
2 parents 7859da7 + a32093f commit 0f336e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,8 @@ ENV DEBIAN_FRONTEND noninteractive
# the install command below if using the above PPA as the gcc package has
# everything included.

# Fetch package repository
RUN apt-get update

# Upgrade all system packages to latest available version
RUN apt-get -y dist-upgrade
# Fetch package repository and upgrade all system packages to latest available version
RUN apt-get update && apt-get -y dist-upgrade

# native platform development and build system functionality (about 400 MB installed)
RUN apt-get -y install \
Expand Down
7 changes: 2 additions & 5 deletions native/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,8 @@ MAINTAINER Joakim Gebart <joakim.gebart@eistec.se>

ENV DEBIAN_FRONTEND noninteractive

# Fetch package repository
RUN apt-get update

# Upgrade all system packages to latest available version
RUN apt-get -y dist-upgrade
# Fetch package repository and upgrade all system packages to latest available version
RUN apt-get update && apt-get -y dist-upgrade

# native platform development and build system functionality (about 400 MB installed)
RUN apt-get -y install \
Expand Down

0 comments on commit 0f336e1

Please sign in to comment.