Code Monkey home page Code Monkey logo

enablement-codereadyworkspaces's People

Contributors

adamclark avatar eformat avatar makentenza avatar oybed avatar springdo avatar tylerauerbeck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

enablement-codereadyworkspaces's Issues

Failed to pull image "eclipse/che-theia:latest"

Workspace fails to start, and this is shown in the log:

2020-03-02 17:41:36,335[/172.30.0.1/...]  [ERROR] [.i.k.KubernetesInternalRuntime 915]  - Unrecoverable event occurred during workspace 'workspace7gxhctl9lz7s84wm' startup: Failed, Failed to pull image "eclipse/che-theia:latest": rpc error: code = Unknown desc = manifest for docker.io/eclipse/che-theia:latest not found, workspace7gxhctl9lz7s84wm.dockerimage-68f5c85f5f-n42jk
2020-03-02 17:41:36,338[aceSharedPool-1]  [WARN ] [.i.k.KubernetesInternalRuntime 243]  - Failed to start Kubernetes runtime of workspace workspace7gxhctl9lz7s84wm. Cause: Unrecoverable event occurred: 'Failed', 'Failed to pull image "eclipse/che-theia:latest": rpc error: code = Unknown desc = manifest for docker.io/eclipse/che-theia:latest not found', 'workspace7gxhctl9lz7s84wm.dockerimage-68f5c85f5f-n42jk'

Workspace should be pulling the Che Theia image from quay.io, not from docker.io.

Update Stack to use ubi8

FROM registry.redhat.io/codeready-workspaces/stacks-node-rhel8

we can use the newer RHEL8 ubi once there is a mongodb for it pulled in the Dockerfile here:

COPY mongodb-org-3.6.repo /etc/yum.repos.d/

FIx CVE's from Maven, check mvn usage in enablement

Fix CVE's brought in by maven install in Dockerfile. We could use rh-maven package if appropriate

ARG MAVEN_VERSION=3.6.1
ARG MAVEN_URL=https://archive.apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz

CVE's reposted in quay.io here:

https://quay.io/repository/rht-labs/stacks-node-rhel7-ansible

Also, we could question the need for maven ... ultimately we need java in the image for testing (selenium dependency) but mvn is nice to have ?

Exit 0; Task Run - git clones

when using the che Task > Run in excercise 1&2 to clone repos, the terminals do not exit. perhaps add sleep 2 && exit 0; to factory definition.

Remove rhel7.repo in Dockerfile

COPY rhel7.repo /etc/yum.repos.d/

In the Dockerfile that creates the image for the stack, we pull in dependencies from RHEL for chrome headless testing.

When using UBI, These deps should be able to be pulled automatically if the image build is done from a subscribed host (e.g. and openshift node).

When i tried this build in OpenShift, the UBI did not seem to do this though, hence the need for the rhel7.repo definition.

Ultimately the base UBI image in the CRW may be old or need the latest version

FROM registry.redhat.io/codeready-workspaces/stacks-node

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.