eclipse-cbi / dockerfiles Goto Github PK
View Code? Open in Web Editor NEWVarious Dockerfiles for building stuff @ Eclipse
License: Eclipse Public License 2.0
Various Dockerfiles for building stuff @ Eclipse
License: Eclipse Public License 2.0
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"
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 && \
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.
It has been added via 521fcc6 but not published for some reason on https://hub.docker.com/r/eclipsecbi/fedora-gtk3-mutter/tags .
@mbarbero any idea what goes wrong?
This image seems to have no .vnc folder (despite being configured to have one), leading to Xvnc jenkins plugin failing the build.
You can tweak this job and play with the Pipeline to add some ls
here and there and see that no .vnc
folder can be found where expected.
Fedora ships pure(unmodified) GTK stack making it extremely useful when having to verify and report smth upstream to GTK developers.
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
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?
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.