mirror of
https://github.com/bingohuang/docker-labs.git
synced 2025-07-14 01:57:32 +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
|
||||
|
||||
ARG docker_storage_driver=overlay2
|
||||
|
||||
ENV DOCKER_STORAGE_DRIVER=${docker-storage-driver}
|
||||
FROM docker:1.13.0-rc4-dind
|
||||
|
||||
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 [".vimrc",".bashrc", ".inputrc", "./root/"]
|
||||
|
||||
ARG docker_storage_driver=overlay2
|
||||
|
||||
ENV DOCKER_STORAGE_DRIVER=$docker_storage_driver
|
||||
|
||||
# Move to our home
|
||||
WORKDIR /root
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user