Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Docker image with Xvnc working with Kubernetes agent?

Note that the cluster is configured to not pull images again if already present on the node your agent is executing (in technical term https://docs.openshift.com/container-platform/3.9/dev_guide/managing_images.html#image-pull-policy is set to IfNotPresent).

You should always specify a new tag when you want to be sure that a new image will be used, or specify the sha256 of it (like repo/image:tag@ sha256:77af4d6b9913e693e8d0b4b294fa62ade6054e6b2f1ffb617ac955dd63fb0182). latest is a tag as any other, it won't be updated. 

Cheers,

Mikaël Barbero 
Team Lead - Release Engineering | Eclipse Foundation
📱 (+33) 642 028 039 | 🐦 @mikbarbero
Eclipse Foundation: The Platform for Open Innovation and Collaboration

Le 13 déc. 2018 à 11:13, Mickael Istria <mistria@xxxxxxxxxx> a écrit :

Thank you all, that helps a lot.

So I've modified the docker image to reuse the ones already provided by CBI: https://github.com/eclipse/wildwebdeveloper/blob/docker/docker/Dockerfile . I'm playing with USER 0 / USER 10001 to switch between root and named user (USER 10001 is taken from parent CBI image).
And I do not see the former error; but starting Tiger seems stuck: https://jenkins.eclipse.org/wildwebdeveloper/job/Wildwebdeveloper/job/docker/5/console says
```
Starting xvnc
Executing shell script inside container [container] of pod [build-test-pod-5c151-ljbt7]
Executing command: "vncserver" ":38" "-localhost" "-nolisten" "tcp" 
exit
/usr/bin/id: cannot find name for user ID 1000100000
/usr/bin/id: cannot find name for user ID 1000100000
Use of uninitialized value $proto in socket at /usr/bin/vncserver line 357.
Use of uninitialized value $proto in socket at /usr/bin/vncserver line 357.

You will require a password to access your desktops.

```
(Yes, the spinning wheel is intended and part of the message ;)

Does anyone know how to remediate that?
_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cbi-dev

Attachment: signature.asc
Description: Message signed with OpenPGP


Back to the top