Skip to content

Commit 9428c77

Browse files
committed
[update] Create .bash_profile and modify env_setup.sh'
:
1 parent 542f2c0 commit 9428c77

5 files changed

Lines changed: 14 additions & 6 deletions

File tree

Dockerfile.cpu

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ FROM ubuntu:${UBUNTU_VERSION}
66
ARG DEBIAN_FRONTEND=noninteractive
77
ENV LANGUAGE=en_US.UTF-8
88
ENV LANG=en_US.UTF-8
9+
ENV LC_ALL=en_US.UTF-8
910

1011
ARG INSTALL_TORCH
1112
ARG LLVM_VERSION
@@ -70,8 +71,8 @@ RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
7071
# Config files
7172
COPY data/vimrc.local /etc/vim/vimrc.local
7273
COPY data/env_setup.sh ${ENV_SETUP_FILE}
73-
COPY data/.inputrc data/.bashrc data/.tmux.conf /root/
74-
COPY data/.inputrc data/.bashrc data/.tmux.conf /etc/skel/
74+
COPY data/.inputrc data/.bashrc data/.bash_profile data/.tmux.conf /root/
75+
COPY data/.inputrc data/.bashrc data/.bash_profile data/.tmux.conf /etc/skel/
7576

7677
# Install uv
7778
RUN curl -LsSf https://astral.sh/uv/install.sh | \

Dockerfile.cuda

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
7070
# Config files
7171
COPY data/vimrc.local /etc/vim/vimrc.local
7272
COPY data/env_setup.sh ${ENV_SETUP_FILE}
73-
COPY data/.inputrc data/.bashrc data/.tmux.conf /root/
74-
COPY data/.inputrc data/.bashrc data/.tmux.conf /etc/skel/
73+
COPY data/.inputrc data/.bashrc data/.tmux.conf data/.bash_profile /root/
74+
COPY data/.inputrc data/.bashrc data/.tmux.conf data/.bash_profile /etc/skel/
7575

7676
# Install uv
7777
RUN curl -LsSf https://astral.sh/uv/install.sh | \

data/.bash_profile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
if [ -f ~/.bashrc ]; then
2+
source ~/.bashrc
3+
fi

data/env_setup.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ FILE_NAME="$( basename -- "${BASH_SOURCE[0]}" )"
2020
FILE_PATH="$FILE_DIR/$FILE_NAME"
2121

2222
echo "[ENV-SETUP] Sourcing ${FILE_PATH}"
23-
echo " \${ENV_SETUP_FILE}: ${ENV_SETUP_FILE:-<not set>}"
23+
echo " Current \${ENV_SETUP_FILE}: ${ENV_SETUP_FILE:-<not set>}"
24+
25+
export LANG=en_US.UTF-8
26+
export LC_ALL=en_US.UTF-8
27+
echo "[ENV-SETUP] Setting LANG to ${LANG}, LC_ALL to ${LC_ALL}"
2428

2529
# @brief Add `$1` into environment variable `$2` if it is not already there.
2630
# @example > env_load PATH /usr/local/bin

scripts/image-configs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
IMAGE_VERSION=2.4.6
1+
IMAGE_VERSION=2.4.7
22
CUDA_VERSION=12.8.0
33
UBUNTU_VERSION=24.04
44
LLVM_VERSION=20

0 commit comments

Comments
 (0)