Develop, stage and test on-prem or in your private cloud. Dockside is a tool for provisioning lightweight access-controlled IDEs, staging environments and sandboxes - aka 'devtainers' - on local machine, on-premises raw metal or VM, or in the cloud
Keep all platforms using Theia 1.35.0 until the issue is resolved upstream, holding up Theia upgrades for other Dockside platforms?
Drop support for linux/arm/v7, required to run on rPI 32bit Raspbian?
Modify the build process to support different Theia versions for different platforms?
(1) is not an option. I am reluctant to accept (2) right now, as while there is now a 64bit version of Raspbian able to run on rPi 4, it is still relatively new and seems a shame to drop support when Dockside still works.
And it is not inconceivable that this issue will arise again, with a new version of Theia working on some supported platforms but not yet on others.
I have therefore opted to modify the build process to support different Theia versions for different platforms. Docker does not support setting build variables to different values for different platforms. This therefore entailed moving the Theia version specification from build.sh into Dockerfile, and a variety of other changes to Dockerfile to facilitate the required env vars to be set to the intended value for each platform.
This branch contains two commits:
Support for different Theia versions for different platforms
Upgrade Theia to v1.40.0 including yarn.lock for consistent build (for amd64 and arm64 platforms)
Having reluctantly concluded that Theia 1.40.0 is incompatible with the
linux/arm/v7
platform (see https://github.com/newsnowlabs/dockside/pull/13) this presented a conundrum:linux/arm/v7
, required to run on rPI 32bit Raspbian?(1) is not an option. I am reluctant to accept (2) right now, as while there is now a 64bit version of Raspbian able to run on rPi 4, it is still relatively new and seems a shame to drop support when Dockside still works.
And it is not inconceivable that this issue will arise again, with a new version of Theia working on some supported platforms but not yet on others.
I have therefore opted to modify the build process to support different Theia versions for different platforms. Docker does not support setting build variables to different values for different platforms. This therefore entailed moving the Theia version specification from
build.sh
intoDockerfile
, and a variety of other changes toDockerfile
to facilitate the required env vars to be set to the intended value for each platform.This branch contains two commits: