Public Repository

Last pushed: 6 months ago
Short Description
Image contains the base Ubuntu-Image 16.04 and has Jet Beans Rider with the dotnet package installed
Full Description

this an old Version of my work. My actual version is in the docker repo nijo/rider


The image is an IDE configuration with JB-Rider and the packge dotnet.tar.gz from https://go.microsoft.com/fwlink/?LinkID=835021.

This Image use the Jetbeans Rider package: riderRS-171.3655.1246.tar.gz

To start it probably you need it to start it with following bash commands:


#non-network local connections being added to access control list of the X server
xhost +local:root

#run the container and gives the graphic/mouse&keyboard output to the host via the x11 socket and its #mounting the directory /home/rider-Workspace to the container for saving projects on the hosts filesystem
docker run -ti \
-e DISPLAY=$DISPLAY \
--workdir="/home/workspace" \
--volume="/home/rider-workspace:/home/workspace" \
-v /tmp/.X11-unix:/tmp/.X11-unix \
jb-rider

#non-network local connections being removed from access control list of the X server
xhost -local:root


This is the Dockerfile i build for the image:


From ubuntu:16.04

RUN dpkg

--add-architecture i386 \
&& apt-get -y update \
&& apt-get -y upgrade \
&& apt-get -y install libxext6:i386 \
&& apt-get -y install libxext6 \
&& apt-get -y install libxtst6:i386 \
&& apt-get -y install libxtst6 \
&& apt-get -y install libxi6:i386 \
&& apt-get -y install libxi6 \
&& apt-get -y install apt-transport-https \
&& apt-get -y install dirmngr \
&& apt-get -y install libstdc++6 \
&& apt-get -y install libxrender1 \
&& apt-get -y install libfreetype6 \
&& apt-get -y install curl libunwind8 gettext \
&& curl -sSL -o dotnet.tar.gz https://go.microsoft.com/fwlink/?LinkID=835021 \
&& mkdir -p /opt/dotnet
&& tar zxf dotnet.tar.gz -C /opt/dotnet \
&& ln -s /opt/dotnet/dotnet /usr/local/bin \
&& rm dotnet.tar.gz \
&& apt-get -y update \
&& apt-get -y upgrade \
&& apt-get -y autoremove

ENTRYPOINT ["/opt/rider/bin/rider.sh"]


The installation of all the lib packages is for fonts mainly. The base Ubuntu image has most of them already in it but i put them in anyway.
When i tried to build it with a smaller base image they where necessary and i leave them in, so when you want to change the base image there is no need to search for all the fonts again.

Jb-rider is still an early build, so i decided to build the image and then download and install the IDE manually and commit the changes, because there are often changes in Rider and i don't want it to "destroy" my image.

When there is a stable version of Rider i would build the step of installation in my Dockerfile of course.

When you want to use it and there is a newer version of Rider just start the Container with:


#non-network local connections being added to access control list of the X server
xhost +local:root

#run the container and gives the graphic output to the host via the x11 socket

#also its mounting the directory /home/rider-Workspace to the container for saving projects on the hosts filesystem
docker run -ti \
-e DISPLAY=$DISPLAY \
--workdir="/home/workspace" \
--volume="/home/rider-workspace:/home/workspace" \
-v /tmp/.X11-unix:/tmp/.X11-unix \
--entrypoint /bin/bash jb-rider

#non-network local connections being removed from access control list of the X server
xhost -local:root


It starts the Container in the shell so you configure it in the way you want.
Just remember to put the entrypoint back to ENTRYPOINT ["/opt/rider/bin/rider.sh"] when you commit changes.

Docker Pull Command
Owner
nijo

Comments (0)