Zuletzt angesehen: howto_build_an_own_docker_image

HowTo build a Docker Image

Dies ist eine alte Version des Dokuments!


HowTo build a Docker Image

... for my python experiments

  • Use the latest ubuntu docker-image from hub.docker.com
    • because I need the recent libolm3 and libolm-dev
  • I need to
    * apt update
    * apt install python3-venv libolm-dev emacs-nox build-essential python3-pip python3-openssl ffmpeg
    * adduser experiments --home /home/experiments --disabled-password
    * experiments:experiments | chpasswd
    * su -l experiments
      * mkdir /home/experiments/applications 
      * python3 -m venv /home/experiments/applications
      * source /home/experiments/applications/bin/activate

    I have to run

    python3 matrix-commander.py

    before it will work with my own script, because it needs to setup the storage with my login data and the room to post to.

Che ck

howto_build_an_own_docker_image.1624828631.txt.gz · Zuletzt geändert: 2021/06/27 23:17
CC Attribution-Share Alike 4.0 International Falls nicht anders bezeichnet, ist der Inhalt dieses Wikis unter der folgenden Lizenz veröffentlicht: CC Attribution-Share Alike 4.0 International