Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ RUN echo "build --local_ram_resources=HOST_RAM*.5 --local_cpu_resources=25 --dis
# install claude
RUN curl -fsSL https://claude.ai/install.sh | bash

# Ensure all executables have +x permissions before ownership change
RUN find /home/devuser/miniconda/bin -type f -exec chmod +x {} + 2>/dev/null || true \
&& find /home/devuser/.local/bin -type f -exec chmod +x {} + 2>/dev/null || true

Comment on lines +172 to +175
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this does anything. By default all the files that are in bin are executables.

# Forcefully remove old symlinks if they exist and are not managed
RUN rm -f /usr/bin/gcc /usr/bin/g++ && \
ln -s /usr/bin/gcc-13 /usr/bin/gcc && \
Expand Down
2 changes: 1 addition & 1 deletion openshift/deployment/deployment-mig-18g-2g.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spec:
- -c
- |
if [ ! -d /mnt/data/miniconda ]; then
cp -r --no-preserve=all /home/devuser/. /mnt/data/
cp -a /home/devuser/. /mnt/data/
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The -a in cp preserves symlink, permission, ownership, timestamps, context, links, and xattr. This is not what we want to do for agnostic file copies in the nfs.

fi
resources:
limits:
Expand Down
2 changes: 1 addition & 1 deletion openshift/deployment/deployment-mig-18g.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spec:
- -c
- |
if [ ! -d /mnt/data/miniconda ]; then
cp -r --no-preserve=all /home/devuser/. /mnt/data/
cp -a /home/devuser/. /mnt/data/
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment on the -a flag.

fi
resources:
limits:
Expand Down
2 changes: 1 addition & 1 deletion openshift/deployment/deployment-mig-35g.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spec:
- -c
- |
if [ ! -d /mnt/data/miniconda ]; then
cp -r --no-preserve=all /home/devuser/. /mnt/data/
cp -a /home/devuser/. /mnt/data/
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment on the -a flag.

fi
resources:
limits:
Expand Down
2 changes: 1 addition & 1 deletion openshift/deployment/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spec:
- -c
- |
if [ ! -d /mnt/data/miniconda ]; then
cp -r --no-preserve=all /home/devuser/. /mnt/data/
cp -a /home/devuser/. /mnt/data/
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment on the -a flag.

fi
resources:
limits:
Expand Down