Giter Club home page Giter Club logo

Comments (12)

jfaltermeier avatar jfaltermeier commented on August 10, 2024 1

The Linux build is done like this:

stage('Create Linux Installer') {

So we are using the thegecko/theia-dev image to build, which is built from https://github.com/eclipse-theia/theia-blueprint/blob/master/Dockerfile as far as I could see. So currently this is Debian Buster

If we deploy a new version of this image using the Dockerfile from #46 we should have compatibility with more Unix Versions.

from theia-blueprint.

thegecko avatar thegecko commented on August 10, 2024 1

https://bugs.eclipse.org/bugs/show_bug.cgi?id=571598

from theia-blueprint.

jfaltermeier avatar jfaltermeier commented on August 10, 2024

As far as I could see using FROM node:12.19.0-stretch instead of FROM node:12.19.0-buster in https://github.com/eclipse-theia/theia-blueprint/blob/master/Dockerfile should work.
@thegecko Is there a dependency to buster or can we use stretch on the Build-Server for building the Linux related bits?

from theia-blueprint.

thegecko avatar thegecko commented on August 10, 2024

Is there a dependency to buster

not AFAIK

from theia-blueprint.

marcdumais-work avatar marcdumais-work commented on August 10, 2024

When starting the AppImage on Ubuntu 18.04 we get this error

On which OS was the AppImage built? More recent than Ubuntu 18.04?

AppImage is a very useful format, but it has its limitations. Practically I find that what's more likely to work is to build the AppImage on the oldest OS possible, so as not to depend on anything that will not be present, if you attempt to run it on an older machine.

Example: I have two machines:
1- Ubuntu 20.04
2- RHEL/CentOS 7.x (oldest on which Theia apps are known to work)

If I build the Appimage on 1, it will not work on 2 or probably anything older than 1. If I build it on 2, it will likely work ok on 1.

from theia-blueprint.

thegecko avatar thegecko commented on August 10, 2024

Yes, thegecko/theia-dev is simply a published version of:

https://github.com/eclipse-theia/theia-blueprint/blob/master/Dockerfile.

It should probably be published somewhere else. Anyone aware of a docker registry owned by Theia or Eclipse we can use?

from theia-blueprint.

jfaltermeier avatar jfaltermeier commented on August 10, 2024

Yes, thegecko/theia-dev is simply a published version of:

https://github.com/eclipse-theia/theia-blueprint/blob/master/Dockerfile.

It should probably be published somewhere else. Anyone aware of a docker registry owned by Theia or Eclipse we can use?

I found this in the eclipse project handbook: https://wiki.eclipse.org/CBI#Docker_Hub
So it should be possible for committers to publish under the eclipse organization once requested

from theia-blueprint.

marcdumais-work avatar marcdumais-work commented on August 10, 2024

Let's just be aware of this limitation. We might eventually consider adding OS-specific builds to improve compatibility: e.g. RHEL7+, Ubuntu LTS, ...

from theia-blueprint.

marcdumais-work avatar marcdumais-work commented on August 10, 2024

@thegecko I've been thinking that we should consider creating the next generation of "theia-apps" under the foundation. The original one is licensed Apache 2 and I think it probably can't be practically re-licensed, because it has a lot of external contributions.

OTOH the use of vscode extensions probably removes most of the need for language-specific images. We have ideas (*) to improve the repo/apps, but we could instead do that here - a blueprint image that one can consume. Practically we might want two: a lightweight JS/TS IDE that can be used OOTB and something like the theia-full image, that supports as many as we can.

We would publish these under the Foundation's account, on dockerhub.

(*): Teaser: I'd like to have a packaged browser version of blueprint, that we can re-use in the images. No more building the Theia app in place if we can avoid it.

WDYT?

from theia-blueprint.

thegecko avatar thegecko commented on August 10, 2024

...we should consider creating the next generation of "theia-apps" under the foundation

Yeah, good idea. My only concern would be the effort to produce these and ongoing maintenance. How do we ensure they don't rot?

To solve this issue of hosting the linux build machine (and considering the potential future images you suggest), should we request an eclipseTheia organisation as outlined on https://wiki.eclipse.org/CBI#Docker_Hub

from theia-blueprint.

marcdumais-work avatar marcdumais-work commented on August 10, 2024

How do we ensure they don't rot?

I guess the same way we do for images under theia-apps: have a minimal test suite that detects if the image is borked and generally maintain them. @vince-fugnitto and myself have been doing most of that work (not a huge effort), and we could transition to the new images. The idea would be to do them from scratch or at least not based on our existing images.

from theia-blueprint.

marcdumais-work avatar marcdumais-work commented on August 10, 2024

To solve this issue of hosting the linux build machine (and considering the potential future images you suggest), should we request an eclipseTheia organisation as outlined on https://wiki.eclipse.org/CBI#Docker_Hub

sounds like a good idea!

from theia-blueprint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.