Page MenuHomeSolus

Solus Docker Image for Development
Closed, WontfixPublic

Description

I'm trying to automate the creation of a solus docker image (for which I need a copy of the base filesystem installation).

I've seen you provide base .img files (main-x86_64.img.xz) in https://www.solus-project.com/image_root/.
Unfortunately, accessing the contents of it needs mounting rights (aka root, usually, which are usually not provided by free CI sites like gitlab).
Note: mounting rights on free CI systems with docker runners, would imply --privileged containers. This is usually a paid feature AFAIK.
I've explored alternatives (e2tools, fs-utils) but none seem straight forward and required some work hacking.

I would be willing to help set up an automatic build for the base docker image if this compressed file is made available.
The alternative to this is to manually create such file with a virtual machine but that would probably lag behind the latest image.

Some of the uses of a docker base image (that I can think of) are:

  • automatic 3rd party packages can be build for Solus
  • automatic tests
  • open doors for devs not running Solus

solbuild seems to solve some of these things, but it requires root permissions too.

Anyway, I would like to know if this is possible and if there's interest in the community.

tl;dr: It would be REALLY helpful for the automatic build of a solus base docker image if you could provide some compresesd file of the base filesystem installation (which you already seem to build).

edit: format, thanks for the proper title/tag.

Event Timeline

phinicota renamed this task from [request] provide a .tar.gz (or some compressed alternative) file the base root filesystem to [request] provide a compresesd file the base root filesystem for base docker image.Jun 25 2018, 3:04 PM
phinicota renamed this task from [request] provide a compresesd file the base root filesystem for base docker image to [request] provide a compresesd file of the base root filesystem for base docker image.
phinicota renamed this task from [request] provide a compresesd file of the base root filesystem for base docker image to [request] provide a compresesd file of the base root filesystem for a base docker image.
livingsilver94 renamed this task from [request] provide a compresesd file of the base root filesystem for a base docker image to [request] Provide a compressed file of the base root filesystem for a base docker image.Jun 25 2018, 3:38 PM

@livingsilver94 please don't rename tasks you don't own.

DataDrake renamed this task from [request] Provide a compressed file of the base root filesystem for a base docker image to Solus Docker Image for Development.Jun 25 2018, 3:59 PM
DataDrake edited projects, added Platform Integration; removed Lacks Project.

I've just... fixed a typo. But OK.

phinicota updated the task description. (Show Details)Jun 25 2018, 5:01 PM
feskyde added a subscriber: feskyde.EditedJun 25 2018, 8:49 PM

There are a lot of problems because a package is missing some dependencies on a different desktop or another package has been installed and it pulls a rundep that is missing, so having a container for each edition would be useful for testing packages in a less contaminated environment before publishing them.

Also I don't know if running from a container has any impact on Solus' performance, but it would be cool for users from other distros to test Solus without the need of firing up a whole VM or having to boot on a live session (we can borrow the scripts from KDE Neon for this, I guess).

DataDrake closed this task as Wontfix.Jul 29 2018, 6:07 PM
DataDrake claimed this task.

At the moment we have no plans to provide Docker images for Solus.

I'm not asking you to build a Docker Image. I'm offering to automate and build it, provided that you start making a .tar.gz image format.

Please take a few moments and read the original post again.

@phinicota That doesn't change our stance. Plus, if we were to make it possible, we would just provide the docker image.