File tree 2 files changed +7
-5
lines changed
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; \
117
117
touch /var/lib/shared/overlay-images/images.lock; \
118
118
touch /var/lib/shared/overlay-layers/layers.lock
119
119
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
-
125
120
# Add kubedock
126
121
ENV KUBEDOCK_VERSION 0.17.0
127
122
ENV KUBECONFIG=/home/user/.kube/config
Original file line number Diff line number Diff line change @@ -5,6 +5,13 @@ if [ ! -d "${HOME}" ]; then
5
5
mkdir -p " ${HOME} "
6
6
fi
7
7
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
+
8
15
# Setup $PS1 for a consistent and reasonable prompt
9
16
if [ -w " ${HOME} " ] && [ ! -f " ${HOME} " /.bashrc ]; then
10
17
echo " PS1='[\u@\h \W]\$ '" > " ${HOME} " /.bashrc
You can’t perform that action at this time.
0 commit comments