Skip to content

Commit

Permalink
Merge pull request #120 from acend/dst/fix_bash_profile
Browse files Browse the repository at this point in the history
Dst/fix bash profile
  • Loading branch information
sybnex authored Feb 9, 2023
2 parents fec8321 + 0d786f5 commit 6da82cf
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
3 changes: 2 additions & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ RUN apk --no-cache update && \
docker-cli mysql-client lynx bind-tools figlet jq libffi \
bash-completion docker-bash-completion git-bash-completion \
py3-pip py3-yaml py3-pynacl py3-bcrypt py3-cryptography \
py3-wheel py3-cffi py3-openssl py3-psutil>=5.9 && \
py3-wheel py3-cffi py3-openssl py3-psutil && \
# azure
pip3 install azure-cli==${AZURECLI_VERSION} --no-cache-dir && \
# azure cli cleanup
Expand Down Expand Up @@ -130,4 +130,5 @@ ENV SHELL=/bin/bash \
USER theia
EXPOSE 3000
COPY bashrc /home/theia/.bashrc
COPY profile /home/theia/.profile
ENTRYPOINT [ "node", "/home/theia/src-gen/backend/main.js", "/home/project", "--hostname=0.0.0.0" ]
17 changes: 17 additions & 0 deletions build/profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022

# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
4 changes: 2 additions & 2 deletions deploy/charts/webshell/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: webshell
description: A Helm chart to deploy a webshell environment
type: application
version: 0.2.22
appVersion: "0.2.22"
version: 0.2.23
appVersion: "0.2.23"

0 comments on commit 6da82cf

Please sign in to comment.