Skip to content

nettworks-e-V/fli4l-buildroot-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 

Repository files navigation

Docker container with fli4l Buildroot

This is a docker implementation of all required tools to build fli4l from scratch.

For more information please refer to Official website or Support forum

1. Install docker

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

2. Build/Use the Container

You now have two options:

  • Build from scratch or
  • Pull the ready-made image from DockerHub.

2a Image from Docker Hub

sudo docker pull starwarsfan/fli4l-buildroot-container

2b Build from scratch

Pull repo from github
sudo git clone https://github.com/starwarsfan/fli4l-buildroot-container.git
cd fli4l-buildroot-container
Build image
sudo docker build -t starwarsfan/fli4l-buildroot-container:latest .

3. Starting docker container

sudo docker run \
    --name fli4l-buildroot-container \
    -d \
    starwarsfan/fli4l-buildroot-container:latest

3.a Mount volume or folder for svn checkout

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-buildroot-container \
    -v /data/svn-checkout/:/data/work/ ...

5. Useful commands

Check running / stopped container:

sudo docker ps -a

Stop the container

sudo docker stop fli4l-buildroot-container

Start the container

sudo docker start fli4l-buildroot-container

Get logs from container

sudo docker logs -f fli4l-buildroot-container

Open cmdline inside of container

sudo docker exec -i -t fli4l-buildroot-container /bin/bash

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •