Use this guide if your container will run as a real virtual machine (QEMU, ...).
You'll set up the system that will process a build job. Because of that, you shold prepare it in such a way this VM is suited well for building your job!
Basically, you'll have a full system installation (Linux, ...) that is then reached and controlled via SSH and Python.
- Setup the OS
- Install
python >=3.4
git
ssh
daemonsudo
- In the VM, create user
chantal
- In
visudo
, giveNOPASSWD: ALL
permissions tochantal
- That way,
chantal
easily gets root permissions in the machine
- That way,
- Enable and run the
sshd
service - Setup password-less SSH access (
ssh-copy-id
) for abovekevin
user tochantal@container_vm
- Add
kevin
'sid_rsa.pub
into~chantal/.ssh/authorized_keys
- Add
- Store the contents of the container's
/etc/ssh/ssh_host_ed25519_key.pub
to thefalk.conf
so the key for this VM can be verified - Set up the container in the way you'd like to test your project
- If your build involves graphical things, you could set up
tigervnc
orx11vnc
- If your build involves graphical things, you could set up