Skip to content

Commit 3aeea21

Browse files
author
cgruver
committed
revert Dockerfile change to remove stow command
Signed-off-by: cgruver <[email protected]>
1 parent 355696c commit 3aeea21

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

base/ubi9/.stow-local-ignore

+3
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@
1010
\.krew
1111
\.sdkman
1212
\.local/bin/podman
13+
14+
# Ignore files under .config directory
15+
\.config

universal/ubi9/Dockerfile

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# syntax=docker/dockerfile:1.3-labs
22

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

67
LABEL maintainer="Red Hat, Inc."
78

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

418+
# Create symbolic links from /home/tooling/ -> /home/user/
419+
RUN stow . -t /home/user/ -d /home/tooling/ --no-folding
420+
417421
# Set permissions on /etc/passwd, /etc/group, /etc/pki and /home to allow arbitrary users to write
418422
RUN chgrp -R 0 /home && chmod -R g=u /etc/passwd /etc/group /home /etc/pki
419423

0 commit comments

Comments
 (0)