From 37f09e204bc4a79cc7f7a5c28429ae625c0128a0 Mon Sep 17 00:00:00 2001 From: Marcelo Ochoa Date: Wed, 31 Jul 2024 08:37:49 -0300 Subject: [PATCH] fix end of line problem on .sh script --- Dockerfile | 3 ++- startup.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f5446ec..843a37f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,7 +28,8 @@ ARG DAYTONA_SERVER_VERSION RUN apk update && apk add --no-cache curl openssh-client ncurses bash ttyd tini sudo bash-completion && \ (curl -sf -L https://download.daytona.io/daytona/install.sh | bash) && \ echo "daytona:x:1000:1000:Daytona:/home/daytona:/bin/bash" >> /etc/passwd && \ - echo "daytona:x:1000:" >> /etc/group + echo "daytona:x:1000:" >> /etc/group && \ + mkdir -p /home/daytona && chown 1000:1000 /home/daytona LABEL org.opencontainers.image.title="Daytona client tool" LABEL org.opencontainers.image.description="Docker Extension for using an embedded version of Daytona client/server tools." diff --git a/startup.sh b/startup.sh index 845f1fa..59367b0 100755 --- a/startup.sh +++ b/startup.sh @@ -7,7 +7,7 @@ chmod go-rwx "$HOME/.ssh" daytona autocomplete bash echo "source /etc/profile.d/bash_completion.sh" > $HOME/.bashrc echo "source $HOME/.daytona.completion_script.bash" >> $HOME/.bashrc -echo "export TERM=$TERM" >> $HOME/.bashrc +echo "export TERM=$TERM" >> $HOME/.bashrsc echo "export PS1=\"$PS1\"" >> $HOME/.bashrc echo "/sbin/daytona.sh" >> $HOME/.bashrc echo "cd $HOME" >> $HOME/.bashrc