README update.

This commit is contained in:
Johannes Findeisen 2025-06-07 02:13:05 +02:00
commit ffcbb8e9de

View file

@ -9,10 +9,35 @@ My plan is to switch from Docker to native Linux Containers at some time but I a
## Get the code ## Get the code
git clone https://git.xw3.org/hanez/rusty git clone https://git.xw3.org/hanez/rusty
or # or
git clone git@git.xw3.org:hanez/rusty.git git clone git@git.xw3.org:hanez/rusty.git (needs an account on git.xw3.org)
cd rusty cd rusty
## Prepare environment
mkdir -p home/$USER
chown $USER:$USER home/$USER
su
# or
sudo su
chown root:root home
mkdir root
chown root:root root
## Configure your environment (Optional)
Optionally you can configure your $HOME directories. I do this by pulling my $HOME config from my Git server. E.g.:
cd home/hanez
git clone git@git.xw3.org:hanez/home.git
cd ../..
su
# or
sudo su
cd root
git clone git@git.xw3.org:hanez/home.git
cd ..
## Using docker compose ## Using docker compose
docker compose build docker compose build
@ -21,6 +46,8 @@ My plan is to switch from Docker to native Linux Containers at some time but I a
## Using the Dockerfile only (less comfortable and without shared directories) ## Using the Dockerfile only (less comfortable and without shared directories)
I recommend not to do it this way! You have been warned!
docker build -t rusty . docker build -t rusty .
docker run -it --entrypoint /bin/bash rusty docker run -it --entrypoint /bin/bash rusty