From c1acddcc6e7872979e84cb864fc023027061cf97 Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Tue, 9 Apr 2024 03:07:15 +0000 Subject: [PATCH] Trying to fix issue in user. updating to version 2.0.29 --- entrypoint.sh | 3 +++ version.txt | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index f446abe..df5a300 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -21,6 +21,9 @@ if [ "${HOME_USER-}" ]; then sudo echo "$HOME_USER ALL=(ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers.d/nopasswd > /dev/null fi + # Change the owner of the .bashrc file to HOME_USER + sudo chown ${HOME_USER} /home/${HOME_USER}/.bashrc + # Copy environment variables from vscode user to HOME_USER env | grep -v 'HOME_USER' | while read -r line; do sudo su - ${HOME_USER} -c "echo 'export $line' >> ~/.bashrc" diff --git a/version.txt b/version.txt index 650a6a5..90dd585 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -2.0.28 \ No newline at end of file +2.0.29 \ No newline at end of file