Agent Zero AI framework
docker init update
frdel68020cd62691
diff --git a/docker/exe/Dockerfile b/docker/exe/Dockerfileindex e51788e11..9840f655c 100644--- a/docker/exe/Dockerfile+++ b/docker/exe/Dockerfile@@ -33,8 +33,8 @@ RUN python3 -m venv $VIRTUAL_ENVCOPY initialize.sh /usr/local/bin/initialize.shRUN chmod +x /usr/local/bin/initialize.sh-# Copy contents of filesystem directory to /-COPY ./fs/ /+# Copy contents of filesystem directory to /fs+COPY ./fs/ /fs# Ensure the virtual environment and pip setupRUN $VIRTUAL_ENV/bin/pip install --upgrade pipdiff --git a/docker/exe/initialize.sh b/docker/exe/initialize.shindex fdb10bc4a..115097ab9 100644--- a/docker/exe/initialize.sh+++ b/docker/exe/initialize.sh@@ -1,17 +1,13 @@#!/bin/bash-# # Ensure .bashrc is in the root directory-# if [ ! -f /root/.bashrc ]; then-# cp /etc/skel/.bashrc /root/.bashrc-# chmod 444 /root/.bashrc-# fi+# Copy all contents from /fs to root directory (/) with overwriting+cp -r /fs/* / --no-preserve=ownership,mode-# # Ensure .profile is in the root directory-# if [ ! -f /root/.profile ]; then-# cp /etc/skel/.bashrc /root/.profile-# chmod 444 /root/.profile-# fi+# allow execution of /root/.bashrc and /root/.profile+chmod 444 /root/.bashrc+chmod 444 /root/.profile+# update package list to save time laterapt-get update# Start SSH service