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 1, 2023
1 parent 90869ca commit 3c0b27a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions universal/ubi8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,20 @@ 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

# git completion
RUN echo "source /usr/share/bash-completion/completions/git" >> /home/user/.bashrc

# 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 3c0b27a

Please sign in to comment.