OpenSlides - digital motion and assembly system
-
@girish I could try to adjust it to be a straight-through Dockerfile. Alternately, if you aren't running with
DOCKER_BUILDKIT=1
on that machine (which it appears not to be based on output), would you want to give that a shot? As of Docker 20.10.0 (released 8 December 2020), it is considered a stable core feature.I've got other packagings coming soon that are written to use the same build features, especially when there's a lot of things to build/download, so it'd be nice to know where we're going to land on this. Looks like packages on both my 18.04 and 20.04 boxes are at 19.03.8 which is the 10 March 2020 release. I do happen to be running 20.10.2 on my development machine (and the remote Ubuntu 20.04 build server to be technical, which is the latest, 04 January 2021 release), but it's not like the artifacts are any less compatible after being output with recent versions (those containers ship just fine onto my test Cloudron).
It seems to me like the buildkit engine should be preferable and backward-compatible as described in https://docs.docker.com/develop/develop-images/build_enhancements/ certainly in the 20.x series and beyond, but I've had no issues using it full-time for over a year on the 19.x series and mixing 20.x builds to 19.x runtimes as well.
-
@jimcavoli Yes, I can fix it up. I actually use our build service app which doesn't have BUILDKIT set (assuming, it's off by default). Currently, all cloudrons and all our related services are around Docker 19. I guess we should upgrade Docker to 20 in the next Cloudron release which will help us move forward with the buildkit stuff.
-
@jimcavoli any progress on this, have to run a small conference in a month.
-
@bubonicfred I was just looking into this today. @jimcavoli has finished up the packaging as such.
@jimcavoli where did you find the packaging instructions/docs from? I was trying to just follow through the Dockerfile but it seems quite complicated and I could not find any instructions or code on the openslides site atleast
-
@girish said in OpenSlides - digital motion and assembly system:
I was trying to just follow through the Dockerfile but it seems quite complicated and I could not find any instructions or code on the openslides site atleast
Is one of these what you're looking for?
https://github.com/OpenSlides/openslides-docker-compose
https://github.com/OpenSlides/OpenSlides/tree/master/docker
https://github.com/OpenSlides/OpenSlides/blob/master/README.rst#setup-docker-images -
@girish Yeah, what @jdaviescoates posted is the thing - it's largely not documented all that well from the technical setup perspective. I just sort of...figured it out? There's not that many components and it's a pretty standard python app. Because it's not well-documented on the project's part insofar as running is concerned, that's a large part of why I made the readme and put all the notes in that I did.
-
@jimcavoli Oh, I completely missed your notes in the README ! I will take a look again.
-
I've updated https://git.cloudron.io/jimcavoli/openslides-app with the latest changes for version 3.3 of Openslides. Dockerfile is still multi-staged for the time being. @girish do you want to take another pass at building as-is or should I work on making the Dockerfile straight through.
-
@jimcavoli I think Dockerfile straight would be great. How much work do you think it is? Maybe you can quickly try hacking away and see if it's not too much work?
-
@girish So the gzip failure is independent the staged builds. Arguing with tar/gzip and GitHub about file formats presently, but I can replicate the issue you were having and am testing against the same Dockerfile with and without buildit on, so once I get that sorted, we can regroup and go from there.
-
@jimcavoli said in OpenSlides - digital motion and assembly system:
I've updated https://git.cloudron.io/jimcavoli/openslides-app with the latest changes for version 3.3 of Openslides. Dockerfile is still multi-staged for the time being. @girish do you want to take another pass at building as-is or should I work on making the Dockerfile straight through.
Hi, Openslides isn't actually in the cloudron-appstore - is it broken?
-
-
@Benoit have to investigate, it's quite a complex app to package ! See https://github.com/OpenSlides/OpenSlides#development . Last, I checked, there were no clear instructions for installations from source, so one has to reverse engineer from their docker files.
-
@jimcavoli said in OpenSlides - digital motion and assembly system:
@girish Iām still around - I can pick this back up in the next week or two
Be my guest!
-
@jimcavoli yes, please I will be happy to get this integrated. I think I have addressed the platform issues in the releases since.