You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to update the example to current versions of Java and Eclipse. But when I start the container and try to access the containerized Eclipse via browser, I get the following error:
*** Please connect to http://172.17.0.2:5000 using your web browser ***
Starting Eclipse IDE...
Listening on /root/.cache/broadway6.socket
Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.eclipse.swt was not provided by any .service files
I tried it with this Dockerfile
FROM fedora:34
ENV http_proxy http://host.docker.internal:3128
ENV https_proxy http://host.docker.internal:3128
RUN dnf -y update && dnf -y install \
dbus dbus-daemon dbus-glib \
xorg-x11-server-utils \
webkit2gtk3 webkit2gtk3-devel \
mesa-libGL \
adobe-source-code-pro-fonts abattis-cantarell-fonts \
gnome-settings-daemon \
wget tar \
git-all \
java-17-openjdk && \
dnf clean all && \
wget https://dlcdn.apache.org/maven/maven-3/3.8.6/binaries/apache-maven-3.8.6-bin.tar.gz && \
sudo tar xzf apache-maven-3.8.6-bin.tar.gz -C /opt && \
cd /opt && sudo ln -s apache-maven-3.8.6 maven
ENV MAVEN_HOME /opt/maven
ENV PATH $MAVEN_HOME/bin:$PATH
# Configure broadway
ENV BROADWAY_DISPLAY=:5
ENV BROADWAY_PORT=5000
EXPOSE 5000
ENV GDK_BACKEND=broadway
# Get Eclipse IDE
RUN echo "Downloading Eclipse" && \
cd /root && \
wget -O- "http://ftp.osuosl.org/pub/eclipse/technology/epp/downloads/release/2022-09/R/eclipse-java-2022-09-R-linux-gtk-x86_64.tar.gz" | tar xz && \
cd eclipse/ && \
echo $'name=Eclipse IDE\n\
id=org.eclipse.ui.ide.workbench\n\
version=4.25.0' > .eclipseproduct
# Prepare project area
RUN mkdir /projects
VOLUME /projects
RUN for f in "/etc" "/var/run" "/projects" "/root"; do \
chgrp -R 0 ${f} && \
chmod -R g+rwX ${f}; \
done
COPY ./init.sh /
ENTRYPOINT [ "/init.sh" ]
Any idea what is missing or needs to be adjusted to make it work again?
The text was updated successfully, but these errors were encountered:
I tried to update the example to current versions of Java and Eclipse. But when I start the container and try to access the containerized Eclipse via browser, I get the following error:
I tried it with this Dockerfile
Any idea what is missing or needs to be adjusted to make it work again?
The text was updated successfully, but these errors were encountered: