Use RapidSVN on CentOS7

Since the code management tool used by the company is still subversion, it is a bit inconvenient to use the command line every time, so I thought of looking for a visual subversion tool for the Linux platform, because my working environment is basically CentOS7.X, I found it There were problems with several installations, and finally I thought about whether it could be realized with docker, so I thought it would be pretty beautiful.

Dockerfile

from ubuntu

RUN apt-get update
RUN apt-get install -y sudo iputils-ping net-tools rapidsvn subversion locales language-pack-zh-hans language-pack-gnome-zh-hans fonts-wqy-microhei fonts-wqy-zenhei

RUN echo 'root:Letmein'| chpasswd
RUN useradd -u 1000 admin
RUN echo "admin:admin"| chpasswd
RUN echo "admin   ALL=(ALL)       NOPASSWD: ALL">>/etc/sudoers

RUN locale-gen en_US.UTF-8

Dockerfile uses the ubuntu image as the basic image, and installs some toolkits, rapidsvn and Chinese font files. In addition, a system user has been added, which is mainly to be consistent with the user of my [Host] (https://cloud.tencent.com/product/cdh?from=10680) device. Here, please note that the uid and gid must be unified.

Make a mirror##

docker build -t kongxx/rapidsvn:v1 .

Use RapidSVN

In order to post the application in the container to the current window, you need to run the following command to allow any client access.

$ xhost +
access control disabled, clients can connect from any host

Then run the following command to start the RapidSVN tool.

docker run -it --rm -u admin -e DISPLAY=$DISPLAY -e LANG=zh_CN.UTF-8-v /tmp/.X11-unix:/tmp/.X11-unix -v /home/admin:/home/admin kongxx/rapidsvn:v1 rapidsvn

Recommended Posts

Use RapidSVN on CentOS7
Install Docker on Centos7
install LNMP on centos7.4
Build k8s1.9.9 on centos7
Install Java on Centos 7
Xfs configuration on centos7
How to install and use Docker on CentOS 7
Nodejs install on centos7
Install FFmpeg on CentOS 8
Install RabbitMQ on CentOS 7
Install Node.js on Centos
How to install and use Composer on CentOS 8
Maven install on centos7
Jenkins build on centos
Install Surelog on CentOS8
Deploy vuepress on centos7
Openjdk install on centos7
Install Jenkins on centos7
install RabbitMQ on centos
How to install and use Curl on CentOS 8
Install RabbitMQ on CentOS 7
install Docker on centos6.5
install oracle on centos
Install Elasticsearch 6 on centos7
Install RabbitMQ on CentOS7
Deploy Jenkin on centos7
How to use Let's Encrypt to protect Nginx on CentOS 8
Install mysql online on centos
Install ElasticSearch 7.x on CentOS 7
Build MariaDB replication on CentOS
Install MySQL 8.0.16 on Linux Centos
Deployment of graphite on centos7
Install docker transfer on Centos7
centos7 kvm installation and use
Configure swap space on CentOS7
Install docker on Centos system
install EPEL repo on centos
CentOS7 postgresql installation and use
Install Zabbix 3.4 based on CentOS 7
install virtualbox on centos server
Docker EE installation on centos7
Install Nginx server on CentOS 7
Centos7 elk7.1.1 installation and use
How to install jdk1.8 on centOS7
How to install MySQL on CentOS 8
Common Linux operations (based on centos7)
Install JDK8 in rpm on CentOS7
How to install Memcached on CentOS 8
Install MATE or XFCE on CentOS 7
Use Nginx and u under CentOS
How to install R on CentOS 8
How to install FFmpeg on CentOS 8
How to install Virtualbox on CentOS 8
Configure rsyslog log client on CentOS
CentOS 8 (2)
How to install TensorFlow on CentOS 8
How to Update to gcc4.9.x on Centos7
How to install TeamViewer on CentOS 8
How to install Perl 5 on CentOS
Detailed use of nmcli in CentOS8
How to install Git on CentOS 8