From 3bdc42204a804ff743c32a6cb5bc571cb07be68a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Thu, 24 May 2018 21:05:00 +0200 Subject: [PATCH] Reorder Dockerfile to make caching more efficient --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f231bd1..ee6215a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,5 @@ FROM debian:unstable -COPY . / - RUN export DEBIAN_FRONTEND=noninteractive &&\ apt-get update &&\ apt-get install -y locales @@ -21,6 +19,8 @@ RUN export DEBIAN_FRONTEND=noninteractive &&\ rm -rf /var/lib/apt/lists/* &&\ ln -sf /bin/bash /bin/sh +COPY . / + RUN cd /root &&\ git clone https://git.strongds.hu/mrtoth/zshrc.git &&\ echo "/root/.oh-my-zsh" > zshrc/oh-my-zsh_path &&\