summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-05-01 12:15:27 -0400
committerGitHub <noreply@github.com>2017-05-01 12:15:27 -0400
commitc5cef025ec39e67408f000825747d88c6aaa86eb (patch)
treeb3c8b25a6ad9a874f38b6f58b838ab9aa5afccda
parent26b51383b2e387b3f1c4f257aa91d97d2e8ef6c9 (diff)
parent7ce94eb468ff34f904f8ef8fdeb3c5fe2d09d78c (diff)
Merge pull request #1269 from ryanmaclean/patch-60.5.43
Cleaning Up Dockerfile Layers Per Official Docs
-rw-r--r--Dockerfile9
1 files changed, 3 insertions, 6 deletions
diff --git a/Dockerfile b/Dockerfile
index 744ded8579..88da06f02a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,8 +1,7 @@
FROM debian:jessie
MAINTAINER Erik Dasque <erik@frenchguys.com>
-RUN apt-get update
-RUN apt-get install --no-install-recommends -y build-essential \
+RUN apt-get update && apt-get install --no-install-recommends -y build-essential \
gcc \
unzip \
wget \
@@ -15,10 +14,8 @@ RUN apt-get install --no-install-recommends -y build-essential \
gcc-arm-none-eabi \
binutils-arm-none-eabi \
libnewlib-arm-none-eabi \
- git
-
-RUN apt-get clean
-RUN rm -rf /var/lib/apt/lists/*
+ git \
+ && rm -rf /var/lib/apt/lists/*
ENV keyboard=ergodox
ENV subproject=ez