cedarish icon indicating copy to clipboard operation
cedarish copied to clipboard

create a x86_32bit image

Open patrickjahns opened this issue 9 years ago • 3 comments

I`ve been working on creating a fork for installing dokku on 32bit hosts. So far I have succeeded by building everything from scratch (see https://github.com/progrium/dokku/issues/1090#issuecomment-91048936).

In order to ease up the process, it would be great to also provide 32bit images for cedarish since it is the base image for docker containers used by dokku.

I have created ubuntu-debootstrap images for i386 here https://registry.hub.docker.com/u/patrickjahns/ubuntu-debootstrap/ which can be used for the base for creating cedarish.

The images will be later published via https://registry.hub.docker.com/repos/32bit/ once we set it up correctly. Will post updates

In relation to that, what would be the best way to create a namingspace for 32bit cedarish images? progrium/cedarish_x86_32 ? or something different?

patrickjahns avatar Apr 11 '15 16:04 patrickjahns

dokku uses buildstep which depends on herokuish and https://github.com/heroku/stack-images for its image. I'd ask heroku first on how they'd like their cedar stack to work on 32 bit images, but I'm not sure if they'd support that.

On that note, I'd imagine that the resulting image would look like the following:

progrium/cedarish:i386

bacongobbler avatar Apr 11 '15 18:04 bacongobbler

I don't think Heroku will want to support 32bit but you can ask. I think it's such an edge case unfortunately that it will require maintaining your own fork.

On Sat, Apr 11, 2015 at 1:02 PM, Matthew Fisher [email protected] wrote:

dokku now uses herokuish, which depends on https://github.com/heroku/stack-images for its image. I'd ask heroku first on how they'd like their cedar stack to work on 32 bit images, but I'm not sure if they'd support that.

On that note, that's what docker tags are meant for:

progrium/cedarish:i386

— Reply to this email directly or view it on GitHub https://github.com/progrium/cedarish/issues/20#issuecomment-91893513.

Jeff Lindsay http://progrium.com

progrium avatar Apr 11 '15 18:04 progrium

Thanks for the input - indeed heroku will not work on supporting 32bit officially. I missed the part that herokuish does not depend on cedarish, but instead uses the official heroku images.

It would be possible to easily create 32bit cedarish images and use with herokuish. So far when doing all the steps manually and testing all works without problems (besides the little detail that one needs to build 32bit buildpacks, since the heroku once are distributed with binaries build against 64bit).

@bacongobbler On the note of tags - actually this would be difficult to maintain with

progrium/cedarish:i386

since you don't know what the version of image would be. I.e. cedarish could be moved up to 15 - but you wouldn't know if i386 is now v14 or v15 ...

patrickjahns avatar Apr 11 '15 18:04 patrickjahns