Skip to content

Commit

Permalink
revert Dockerfile change to remove stow command
Browse files Browse the repository at this point in the history
Signed-off-by: cgruver <[email protected]>
  • Loading branch information
cgruver committed Dec 12, 2024
1 parent 355696c commit 3aeea21
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions base/ubi9/.stow-local-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
\.krew
\.sdkman
\.local/bin/podman

# Ignore files under .config directory
\.config
6 changes: 5 additions & 1 deletion universal/ubi9/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# syntax=docker/dockerfile:1.3-labs

# updateBaseImages.sh can't operate on SHA-based tags as they're not date-based or semver-sequential, and therefore cannot be ordered
FROM quay.io/devfile/base-developer-image:ubi9-latest
# FROM quay.io/devfile/base-developer-image:ubi9-latest
FROM quay.io/cgruver0/che/base-developer-image:latest

LABEL maintainer="Red Hat, Inc."

Expand Down Expand Up @@ -414,6 +415,9 @@ EOF
RUN echo 'export SDKMAN_DIR="/home/tooling/.sdkman"' >> ${PROFILE_EXT}
RUN echo '[[ -s "$SDKMAN_DIR/bin/sdkman-init.sh" ]] && source "$SDKMAN_DIR/bin/sdkman-init.sh"' >> ${PROFILE_EXT}

# Create symbolic links from /home/tooling/ -> /home/user/
RUN stow . -t /home/user/ -d /home/tooling/ --no-folding

# Set permissions on /etc/passwd, /etc/group, /etc/pki and /home to allow arbitrary users to write
RUN chgrp -R 0 /home && chmod -R g=u /etc/passwd /etc/group /home /etc/pki

Expand Down

0 comments on commit 3aeea21

Please sign in to comment.