Skip to content

NoelieRamuzat/dominus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOMINUS

TO DO

Src

This folder contains an example for autotools use in the folder domoticz. In order to compile it, run:

  • $ ./autogen.sh
  • $ ./configure
  • $ make

Dockerfile

This file allows you to create an image based on a debian image, and that automatically download and compile the buildroot for the RPi3.

This image includes :

  • A root session which password is toor
  • A user session which name is user_1 and password user_1pw
  • Domoticz is installed and automatically starts when the RPi3 boots.

In order to creates this docker, you just have to run this command line where the .dockerfile is :

	docker build .

You can give the image a name with the -t option.

NB : The whole running of this command took me about 40 minutes. It works (and have been tested) with a stable internet connexion (there are not the settings for the ENSTA's proxy, and it doesn't work with the unstable wifi connexion of the school).

The ID of the image is returned at the end of the running of the build command. Otherwise, you can find it by running this command :

	docker image ls

After that, you can create a docker container from the image by running :

	docker run -it <image_ID> 

The image for the sdcard can be found in /root/buildroot-2017.08/outputs/image. You can also copy it by running :

	docker cp <docker_ID>:/root/buildroot-2017.08/output/images/sdcard.img .

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 38.6%
  • C 34.4%
  • M4 13.2%
  • Shell 7.9%
  • Makefile 5.9%