Reorder Dockerfile to make caching more efficient
This commit is contained in:
parent
59c7261547
commit
3bdc42204a
@ -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 &&\
|
||||
|
Loading…
Reference in New Issue
Block a user