Update version to 0.5.40, enhance Dockerfile with additional tools, and improve run.sh for nginx process management
This commit is contained in:
@@ -24,6 +24,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
sudo \
|
||||
vim \
|
||||
nano \
|
||||
fd-find \
|
||||
ripgrep \
|
||||
bat \
|
||||
less \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
@@ -99,6 +103,24 @@ USER root
|
||||
RUN npm config set fund false && npm config set audit false \
|
||||
&& npm install -g openclaw@2026.2.9
|
||||
|
||||
# Shell aliases and color options for interactive use
|
||||
RUN tee -a /etc/bash.bashrc <<'EOF'
|
||||
|
||||
# Aliases
|
||||
alias bat="batcat"
|
||||
alias fd="fdfind"
|
||||
|
||||
# Enable colors
|
||||
alias ls="ls --color=auto"
|
||||
alias grep="grep --color=auto"
|
||||
alias egrep="grep -E --color=auto"
|
||||
alias fgrep="grep -F --color=auto"
|
||||
alias diff="diff --color=auto"
|
||||
alias ip="ip --color=auto"
|
||||
if [ -z "${LS_COLORS+x}" ]; then
|
||||
export LS_COLORS="di=1;34:ln=1;36:so=1;pi=33:ex=1;32:bd=1;33:cd=1;33:su=1;31:sg=1;31:tw=1;34:ow=1;34"
|
||||
fi
|
||||
EOF
|
||||
COPY run.sh /run.sh
|
||||
COPY oc_config_helper.py /oc_config_helper.py
|
||||
COPY nginx.conf.tpl /etc/nginx/nginx.conf.tpl
|
||||
|
||||
Reference in New Issue
Block a user