Skip to content

Commit 94ec27a

Browse files
committed
Pre-create common config directories
Fix eclipse-che/che#22029 Pre-creates the following config directories: - ~/.m2 (Maven) - ~/.gradle (Gradle) - ~/.config/pip (Pip) - ~/.sbt/1.0 (SBT) - ~/.cargo (Rust) - ~/certs (SSL) - ~/.composer (PHP) - ~/.nuget (.NET) Signed-off-by: Andrew Obuchowicz <[email protected]>
1 parent 277c10c commit 94ec27a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

universal/ubi8/Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,17 @@ ENV KAMEL_VERSION 1.11.0
184184
RUN curl -L https://github.com/apache/camel-k/releases/download/v${KAMEL_VERSION}/camel-k-client-${KAMEL_VERSION}-linux-64bit.tar.gz | tar -C /usr/local/bin -xz \
185185
&& chmod +x /usr/local/bin/kamel
186186

187+
# Config directories
188+
RUN mkdir -p /home/tooling/.m2 && \
189+
mkdir -p /home/tooling/.gradle && \
190+
mkdir -p /home/tooling/.config/pip && \
191+
mkdir -p /home/tooling/.sbt/1.0 && \
192+
mkdir -p /home/tooling/.cargo && \
193+
mkdir -p /home/tooling/certs && \
194+
mkdir -p /home/tooling/.composer && \
195+
mkdir -p /home/tooling/.nuget && \
196+
chgrp -R 0 /home/tooling && chmod -R g=u /home/tooling
197+
187198
# Cloud
188199

189200
# oc client

0 commit comments

Comments
 (0)