need help with build

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

need help with build

Post by Gianni »

Hello

as a try to build my own docker image i build my first domoticz
I followed this steps and i build fine
https://www.domoticz.com/wiki/Build_Dom ... rom_source
Now i got this files
10.10.20.214.png
10.10.20.214.png (16.85 KiB) Viewed 251 times
Now i need help, how do i make a image of it?
In the Folder build i run the dockerfile but i got a error

Code: Select all

 ---> 335a8bf32ab5
Step 7/13 : ADD https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}.tar.gz .
ADD failed: failed to GET https://github.com/Kitware/CMake/releases/download/v/cmake-.tar.gz with status 404 Not Found: Not Found
So how do i get a image from my new build folder to use ?
User avatar
kiddigital
Posts: 435
Joined: Thursday 10 August 2017 6:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: need help with build

Post by kiddigital »

Looks like the CMAKE_VERSION variable is empty/not set (correctly)

Docker fails downloading CMake (404 Not Found) because the download URL is missing the version at 2 places…
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

Re: need help with build

Post by Gianni »

thx

i just run the dockerfile generated in the build folder.
Now i just replaced the whole cmake section with this and it's looks better

Code: Select all

RUN wget -O- https://github.com/Kitware/CMake/releases/download/v3.25.0-rc4/cmake-3.25.0-rc4.tar.gz | tar xzv \
            && cd cmake-3.25.0-rc4 \
            && ./configure --prefix=/opt/cmake \
            && make \
            && make install \
            && cd ../
Now i got a returned a non-zero code: 2 on boost.
is this the way to build the image or do i need to use/write my own dockerfile?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest