This is a docker implementation of all required tools to package fli4l opts.
For more information please refer to Official website or Support forum
This instruction works for a Centos7 docker host. Other distributions may need some adjustments.
sudo tee /etc/yum.repos.d/docker.repo <<-'EOF'
[dockerrepo]
name=Docker Repository
baseurl=https://yum.dockerproject.org/repo/main/centos/7/
enabled=1
gpgcheck=1
gpgkey=https://yum.dockerproject.org/gpg
EOF
...
sudo yum install docker-engine -y
...
sudo systemctl enable docker.service
...
sudo systemctl start docker.service
You now have two options:
- Build from scratch or
- Pull the ready-made image from DockerHub.
sudo docker pull starwarsfan/fli4l-packaging-container
sudo git clone https://github.com/starwarsfan/fli4l-packaging-container.git
cd fli4l-packaging-container
sudo docker build -t starwarsfan/fli4l-packaging-container:latest .
sudo docker run \
--name fli4l-packaging-container \
-d \
starwarsfan/fli4l-packaging-container:latest
With the additional run parameter -v :/data/work/ you can mount a folder on the docker host which contains the the svn checkout outside of the container. So the run command may look like the following example:
sudo docker run \
--name fli4l-packaging-container \
-v /data/svn-checkout/:/data/work/ ...
Check running / stopped container:
sudo docker ps -a
Stop the container
sudo docker stop fli4l-packaging-container
Start the container
sudo docker start fli4l-packaging-container
Get logs from container
sudo docker logs -f fli4l-packaging-container
Open cmdline inside of container
sudo docker exec -i -t fli4l-packaging-container /bin/bash