File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -117,11 +117,6 @@ RUN mkdir -p /var/lib/shared/overlay-images /var/lib/shared/overlay-layers; \
117117 touch /var/lib/shared/overlay-images/images.lock; \
118118 touch /var/lib/shared/overlay-layers/layers.lock
119119
120- # But use VFS since not all environments support overlay with Fuse backend
121- RUN mkdir -p "${HOME}" /.config/containers && \
122- (echo '[storage]' ;echo 'driver = "vfs"' ) > "${HOME}" /.config/containers/storage.conf && \
123- chown -R 10001 "${HOME}" /.config
124-
125120# Add kubedock
126121ENV KUBEDOCK_VERSION 0.17.0
127122ENV KUBECONFIG=/home/user/.kube/config
Original file line number Diff line number Diff line change @@ -5,6 +5,13 @@ if [ ! -d "${HOME}" ]; then
55 mkdir -p " ${HOME} "
66fi
77
8+ # Configure container builds to use vfs
9+ if [ ! -d " ${HOME} /.config/containers" ]
10+ then
11+ mkdir -p ${HOME} /.config/containers
12+ (echo ' [storage]' ; echo ' driver = "vfs"' ) > " ${HOME} " /.config/containers/storage.conf
13+ fi
14+
815# Setup $PS1 for a consistent and reasonable prompt
916if [ -w " ${HOME} " ] && [ ! -f " ${HOME} " /.bashrc ]; then
1017 echo " PS1='[\u@\h \W]\$ '" > " ${HOME} " /.bashrc
You can’t perform that action at this time.
0 commit comments