Skip to content

Commit

Permalink
Pre-create common config directories
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
AObuchow committed Nov 6, 2023
1 parent 277c10c commit 94ec27a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions universal/ubi8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,17 @@ ENV KAMEL_VERSION 1.11.0
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 \
&& chmod +x /usr/local/bin/kamel

# Config directories
RUN mkdir -p /home/tooling/.m2 && \
mkdir -p /home/tooling/.gradle && \
mkdir -p /home/tooling/.config/pip && \
mkdir -p /home/tooling/.sbt/1.0 && \
mkdir -p /home/tooling/.cargo && \
mkdir -p /home/tooling/certs && \
mkdir -p /home/tooling/.composer && \
mkdir -p /home/tooling/.nuget && \
chgrp -R 0 /home/tooling && chmod -R g=u /home/tooling

# Cloud

# oc client
Expand Down

0 comments on commit 94ec27a

Please sign in to comment.