feat: Support ubi9-based containers for running VS Code editor #547
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Dockerfile
for the local build of thedevspaces-code
doesn't work, so it's not possible to builddevspaces-code
assembly. The current PR fixes thatDockerfile
.ubi9
-based assembly for both: local build and build on Brew.musl/alpine-based
containers support for runningdevspaces-code
Support ubi9-based containers for running VS Code editor:
registry.access.redhat.com/ubi9/nodejs-18
is used for running VS Code in aubi9-based
containerlibbrotli
library from the same image is copied to a user's container as a dependency for Node.jsLD_LIBRARY_PATH
env variable to define additional shared libs place (libbrotli
)What issues does this PR fix?
https://issues.redhat.com/browse/CRW-5629
How to test this PR?
Image for testing: quay.io/rnikitenko/devspaces-code:ubi8-ubi9-jenkins
Successful build on jenkins: DS_CI/job/get-sources-rhpkg-container-build_3.x/6138
I tested the following images as a container for running Devspaces Code:
registry.access.redhat.com/ubi8
Git not found
registry.access.redhat.com/ubi9
Git not found
registry.access.redhat.com/ubi9/ubi:9.3-1476
Git not found
registry.access.redhat.com/ubi9/ubi-minimal:9.3-1475
Git not found
registry.access.redhat.com/ubi9/podman:9.3-8
Git not found
registry.access.redhat.com/ubi9/perl-532:1-121
registry.access.redhat.com/ubi9/php-81:1-43
registry.access.redhat.com/ubi9/ruby-30:1-138
registry.access.redhat.com/ubi9/openjdk-21-runtime
Git not found
registry.access.redhat.com/ubi9/nodejs-16:1-143
registry.access.redhat.com/ubi9/nodejs-18:1-84
registry.access.redhat.com/ubi9/nodejs-20:1-20
registry.access.redhat.com/ubi9/openjdk-11:1.17-1.1705602311
Git not found
registry.access.redhat.com/ubi9/openjdk-17:1.17-1
Git not found
registry.access.redhat.com/ubi9/go-toolset:1.19.13-4.1697647145
registry.access.redhat.com/ubi8/nodejs-16:latest
registry.access.redhat.com/ubi9/python-39:1-161
registry.access.redhat.com/ubi9/python-39:1-161
registry.access.redhat.com/ubi8/openjdk-17:1.18-2
Git not found
quay.io/eclipse/che-java11-maven:7.37.2
the cause of the problem
quay.io/jaegertracing/all-in-one:1.50
the cause of the problem