steamos-container-creator icon indicating copy to clipboard operation
steamos-container-creator copied to clipboard

Where is "brewmaster-base"?

Open jeremydouglass opened this issue 7 years ago • 7 comments

Your Dockerfile for this repo refers to "FROM brewmaster-base". Where is that base image? I cannot find it in this repo or on Dockerhub. Without it I think this Dockerfile / repo cannot be used.

jeremydouglass avatar Aug 28 '18 16:08 jeremydouglass

It is created in the setup-chroot.sh script. The naming might be a bit off, since it builds the full container from scratch with debootstrap and the docker file.

sharkwouter avatar Aug 28 '18 17:08 sharkwouter

Ah, I see now --in the script you are creating a debootstrap tarball and then using docker import to create a local docker base image from that tarball, then the Dockerfile points to it.

Any particular reason for using debootstrap dynamically at build time rather than specifying the debian base system in a stable dockerfile / container image? Does it have to do with how SteamOS development works?

jeremydouglass avatar Aug 28 '18 19:08 jeremydouglass

I wanted it to be as close as possible to a real SteamOS installation, which is why I'm pulling in the base installation from the SteamOS repo with debootstrap. Like this it is not using any packages from Debian, which are sometimes different.

sharkwouter avatar Aug 28 '18 20:08 sharkwouter

Thanks. What OS version machine are you running the script on? Debian Jessie 8.11? I ask because, in order to build on e.g. macOS I need to first create a build container and then run your setup-chroot.sh script inside it.

jeremydouglass avatar Aug 28 '18 20:08 jeremydouglass

I'm actually using Debian 9. I guess I kinda forgot about other systems when I made this, since I have this container up on the dockerhub as well.

sharkwouter avatar Aug 28 '18 21:08 sharkwouter

Absolutely -- dockerhub is how I found it. I am looking at updating your previously built container from seven months ago (SteamOS 2.148) to SteamOS 2.154 stable or SteamOS 2.166 beta, released this past week...

https://news.softpedia.com/news/latest-steamos-linux-beta-brings-mesa-18-1-6-and-nvidia-396-54-security-fixes-522398.shtml

... and that requires rebuilding the image, which requires using your tar import script for the local base image, which was written to run on Debian 9.

jeremydouglass avatar Aug 28 '18 22:08 jeremydouglass

You can make a Dockerfile which uses sharkwouter/steamos as base and just runs "apt-get update && apt-get dist-upgrade" to create a new image. Then you'd have the latest version. If you want the beta, you should install the steamos-beta-repo package and then update.

sharkwouter avatar Aug 28 '18 22:08 sharkwouter