Skip to content

florian-gauvin/Dockerfile-that-build-a-small-Docker-Image-with-Apache-Celix-in-it

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Here you can find a Dockerfile that can create a small docker image with Apache Celix. This Dockerfile is useful for this INAETICS project.

To use this dockerfile :
First, build the dockerfile by running the following command : docker build -t "name-of-the-celix-image-builder" .
This will create a builder image of Apache Celix

Then Run the following command : 
docker run -ti --privileged -v /var/run/docker.sock:/var/run/docker.sock name-of-the-celix-image-builder
This will launch the builder image of Apache Celix and create automatically the small image with Apache Celix in it.
The image is about 33MB.

Finally you will have a docker image named inaetics/celix-agent on your host, you can check by running the following command : 
"docker images"

BE CAREFUL : 
	-You need to have the same docker version than there is in the image, in the image I'm using the latest version
	of docker by running the following command : wget -qO- https://get.docker.com/ | sh
	-The configuration file of Buildroot is dependent of the version of buildroot your using. If you want to change 
	Buildroot version you have to create a new configuration file with the new Buildroot. 
	Put it into a git reposirtory, and change the git repository in the Dockerfile.

If you want more information about the dockerfile, see the comments in the Dockerfile.

If you want to have the same image but faster, wihout all the steps, and a Dockerfile which size is lesser go here : 
https://github.com/florian-gauvin/Small-Dockerfile-Celix

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages