Giter Club home page Giter Club logo

dockerfiles's People

Contributors

akurtakov avatar chrisguindon avatar fredg02 avatar heurtematte avatar mbarbero avatar sdawley avatar sdirix avatar

Stargazers

 avatar  avatar

Watchers

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

dockerfiles's Issues

Erroneous Fedora 30 image on DockerHub (is Fedora 28)

mistria@mistria-rh:~/git/wildwebdeveloper$ docker pull eclipsecbi/fedora-gtk3-mutter:30-gtk3.24
30-gtk3.24: Pulling from eclipsecbi/fedora-gtk3-mutter
Digest: sha256:f1dbd9ba9408c37c61fa354847ee77717cfaf4c9af8c3ead8d43a9902e469840
Status: Downloaded newer image for eclipsecbi/fedora-gtk3-mutter:30-gtk3.24
docker.io/eclipsecbi/fedora-gtk3-mutter:30-gtk3.24

mistria@mistria-rh:~/git/wildwebdeveloper$ docker run eclipsecbi/fedora-gtk3-mutter:30-gtk3.24 cat /etc/os-release
NAME=Fedora
VERSION="28 (Twenty Eight)"
ID=fedora
VERSION_ID=28
VERSION_CODENAME=""
PLATFORM_ID="platform:f28"
PRETTY_NAME="Fedora 28 (Twenty Eight)"
ANSI_COLOR="0;34"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:28"
HOME_URL="https://fedoraproject.org/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=28
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=28
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"

eclipsecbi/jenkins-jnlp-agent fails to start

To debug a problem, I'm trying to run the eclipsecbi/jenkins-jnlp-agent
docker image on my own machine. Unfortunately, it fails to start:

$ sudo docker run -it eclipsecbi/jenkins-jnlp-agent
standard_init_linux.go:190: exec user process caused "permission denied"

The problem is that the uid_entrypoint script is mode 744, owned by root,
and thus not executable by the default user.

In the Dockerfile, change

RUN chmod u+x /usr/local/bin/uid_entrypoint && \

to

RUN chmod +x /usr/local/bin/uid_entrypoint && \

Provide images for building and testing typical Eclipse RCP apps

Images like ubuntu-gtk3-metacity:18.10-gtk3.24 seem tailored for building and testing UI apps.
Most of the graphical apps in Eclipse ecosystem at the moment are RCP apps or Eclipse plugins, and most (if not all do require Java and Tycho -which are part of the CBI recommended stack-). It would be convenient to have java and Maven installed in those images so they could more easily reused by many projects.

Please create Fedora gtk3 images

Fedora ships pure(unmodified) GTK stack making it extremely useful when having to verify and report smth upstream to GTK developers.

Issues with .vnc folder

Using new fedora-gtk3-mutter:29-gtk3.24 image, I see /home/jenkins/workspace/testDockerXvnc@tmp/durable-3bb33cba/script.sh: line 2: /home/vnc/.vnc/passwd: Permission denied when trying to generate a password for Xvnc: https://jenkins.eclipse.org/wildwebdeveloper/job/testDockerXvnc/20/console .
So I try to remove this line about the password as it's supposed to be fixed in the Docker image directly; and I see

Starting xvnc
Executing shell script inside container [container] of pod [cbi-xvnc-test-4-fg6sm-t4cc5]
Executing command: "vncserver" ":64" "-localhost" "-nolisten" "tcp" 
exit
sh: /home/vnc/.vnc/cbi-xvnc-test-4-fg6sm-t4cc5:64.pid: Permission denied
sh: /home/vnc/.vnc/cbi-xvnc-test-4-fg6sm-t4cc5:64.log: Permission denied

cat: '/home/vnc/.vnc/cbi-xvnc-test-4-fg6sm-t4cc5:64.pid': No such file or directory

WARNING: The first attempt to start Xvnc failed, possibly because the font
catalog is not properly configured.  Attempting to determine an appropriate
font path for this system and restart Xvnc using that font path ...
sh: /home/vnc/.vnc/cbi-xvnc-test-4-fg6sm-t4cc5:64.pid: Permission denied
sh: /home/vnc/.vnc/cbi-xvnc-test-4-fg6sm-t4cc5:64.log: Permission denied

cat: '/home/vnc/.vnc/cbi-xvnc-test-4-fg6sm-t4cc5:64.pid': No such file or directory
Could not start Xvnc.

(in test job and actual "production" job).

The change that was implemented for Xvnc in 0067ca3 is actually a major regression. It seems best if it were reverted at the moment and some fixed images republished.
Former a workaround which is to run mkdir -p ${HOME}/.vnc && echo "123456" | vncpasswd -f > ${HOME}/.vnc/passwd && chmod 600 ${HOME}/.vnc/passwd during the build (for example in the Jenkinsfile) doesn't work any more.

If you need to test those images, feel free to have fun with https://jenkins.eclipse.org/wildwebdeveloper/job/testDockerXvnc

Can we push a Hugo 0.76.5 extended image?

Hi!

We use the popular Syna theme for Hugo. Sadly the theme is incompatible with hugo 0.78.1 and hugo 0.81.0 which are the two versions which are currently offered by eclipsecbi/hugo_extended.

Instead we require Hugo 0.76.5.
We experience issues for quite a while, see for example these dropdowns not working: https://www.eclipse.org/ecp/emfforms/downloads/.
This is fixed with a downgrade to Hugo 0.76.5.
We also tried updating the theme and using the latest version of Hugo but sadly either doesn't work.

Can we build and push an image based on hugo 0.76.5? If yes, how do you want to go about it? For example we could open a PR for the Jenkinsfile and revert immediately after merging?

scripts/uid_entrypoint not found when building the image

I tried to build the fedora image and run into a problem. Steps to reproduce (Mac/Linux):

git clone https://github.com/eclipse-cbi/dockerfiles.git
cd dockerfiles/
docker build fedora-gtk3-mutter/29-gtk3.24/

Step 2/11 : COPY scripts/uid_entrypoint /usr/local/bin/uid_entrypoint
COPY failed: stat /var/lib/docker/tmp/docker-builder378917498/scripts/uid_entrypoint: no such file or directory

This can be worked around by copying the scripts directory to the directory containing the Dockerfile (found a hint here).

cp -r scripts/ fedora-gtk3-mutter/29-gtk3.24/scripts

But there might be a better solution?

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.