Some beginner questions...

Albert Astals Cid aacid at kde.org
Sun Nov 21 22:17:38 GMT 2021


El diumenge, 21 de novembre de 2021, a les 23:00:59 (CET), Alexander Neundorf va escriure:
> On Sonntag, 21. November 2021 21:42:37 CET Volker Krause wrote:
> > On Sonntag, 21. November 2021 21:38:14 CET Albert Astals Cid wrote:
> > > El diumenge, 21 de novembre de 2021, a les 18:20:08 (CET), Alexander
> > 
> > Neundorf va escriure:
> > > > On Mittwoch, 3. November 2021 22:52:48 CET you wrote:
> > > > > Hi Alexander,
> > > > > 
> > > > > On Wed, Nov 3, 2021 at 10:46 PM Alexander Neundorf <neundorf at kde.org>
> > 
> > wrote:
> > > > > > Hi,
> > > > > > 
> > > > > > I'm looking into KDE (or Qt) on Android...
> > > > > > Is this the right place to ask questions ?
> > > > > 
> > > > > Sure!
> > > > > 
> > > > > > I got the docker image running.
> > > > > > Is the image documented somewhere (what stuff is there installed,
> > > > > > where,
> > > > > > etc.) ?
> > > > > 
> > > > > Here's some documentation:
> > > > > https://community.kde.org/Android/Environment_via_Container
> > > > > 
> > > > > We are slowly moving towards using craft on it:
> > > > > https://community.kde.org/Craft/Android
> > > > > 
> > > > > > Is the Dockerfile somewhere available ? Or did this break with the
> > > > > > recent
> > > > > > changes at dockerhub ?
> > > > > 
> > > > > https://invent.kde.org/sysadmin/ci-tooling/-/blob/master/system-images
> > > > > /a
> > > > > ndro id/sdk/Dockerfile
> > > > 
> > > > Thanks :-)
> > > > Is there a reason why less, vi and mc are not part of the image ?
> > > > They make working in the container much nicer :-)
> > > 
> > > You can always
> > > 
> > >   sudo apt install vim
> > > 
> > > no?
> 
> that's lost again after exiting the container.

You can run the container without the "--rm" parameter and then it won't be lost.

If you're not used to docker, to get inside your container again once you exit it.

$ docker ps -a
and you'll see the docker instances that are not running, then just

$ docker start ID_FROM_PS_FIRST_COLUMN
$ docker attach ID_FROM_PS_FIRST_COLUMN

and you're back inside the docker container again.

Cheers,
  Albert


> 
> > That, or you work "outside" of the container (having source/build dirs on
> > the host file system, so the container itself has no state), 
> 
> yes, that's what I want to do (that's actually how I'm used to working with 
> docker).
> 
> > and only use
> > the container to run the build commands.
> 
> I like to explore the environment in the container, and that's easier if less 
> and mc are around. Looking at all the things that are installed the additional 
> size shouldn't be a problem.
> 
> Alex
> 
> 
> 
> 






More information about the KDE-Android mailing list