mirror of
https://github.com/bingohuang/docker-labs.git
synced 2025-07-14 10:17:26 +08:00
Fix ARGS env
Also move them to the bottom to avoid cache invalidation
This commit is contained in:
parent
440ba09061
commit
92aa3aa3f8
@ -1,8 +1,4 @@
|
|||||||
FROM docker:1.13.0-rc3-dind
|
FROM docker:1.13.0-rc4-dind
|
||||||
|
|
||||||
ARG docker_storage_driver=overlay2
|
|
||||||
|
|
||||||
ENV DOCKER_STORAGE_DRIVER=${docker-storage-driver}
|
|
||||||
|
|
||||||
RUN apk add --no-cache git tmux py-pip apache2-utils vim build-base gettext-dev curl bash
|
RUN apk add --no-cache git tmux py-pip apache2-utils vim build-base gettext-dev curl bash
|
||||||
|
|
||||||
@ -27,6 +23,10 @@ RUN rm /sbin/modprobe && echo '#!/bin/true' >/sbin/modprobe && chmod +x /sbin/mo
|
|||||||
COPY ["docker-prompt","/usr/local/bin/"]
|
COPY ["docker-prompt","/usr/local/bin/"]
|
||||||
COPY [".vimrc",".bashrc", ".inputrc", "./root/"]
|
COPY [".vimrc",".bashrc", ".inputrc", "./root/"]
|
||||||
|
|
||||||
|
ARG docker_storage_driver=overlay2
|
||||||
|
|
||||||
|
ENV DOCKER_STORAGE_DRIVER=$docker_storage_driver
|
||||||
|
|
||||||
# Move to our home
|
# Move to our home
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user