I'm very much a docker noob so I tried to start my image from the example posted above and changed the zway server to download the raspberrypi version of the zway server. However I not able to get the image to build. Any help would be appreciated. I have been looking for a current docker image for the zway server but this seems to be the most recent image I could find.
The error I am seeing is:
Code: Select all
[+] Building 47.5s (6/7)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 32B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/ubuntu:20.04 11.3s
=> [auth] library/ubuntu:pull token for registry-1.docker.io 0.0s
=> CACHED [1/3] FROM docker.io/library/ubuntu:20.04@sha256:82becede498899ec668628e7cb0ad87b6e1c371cb8a1e597d83a47fac21d6af3 0.0s
=> ERROR [2/3] RUN DEBIAN_FRONTEND="noninteractive" apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y -q wget libarchive13 libxml2 36.0s
------
> [2/3] RUN DEBIAN_FRONTEND="noninteractive" apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y -q wget libarchive13 libxml2 sharutils tzdata gawk libc-ares2 libavahi-compat-libdnssd-dev libwebsockets15 libcurl4 && apt --fix-broken install && wget https://storage.z-wave.me/z-way-server/z-way-3.1.4_armhf.deb && dpkg -i z-way-*.deb:
#5 0.628 Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
#5 0.830 Get:2 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB]
#5 1.862 Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
#5 2.214 Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
#5 2.559 Get:5 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [11.3 MB]
#5 31.90 Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [1275 kB]
#5 34.97 Get:7 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [33.4 kB]
#5 35.05 Get:8 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [177 kB]
#5 35.49 Reading package lists...
#5 35.96 E: Release file for http://security.ubuntu.com/ubuntu/dists/focal-security/InRelease is not valid yet (invalid for another 3d 8h 22min 8s). Updates for this repository will not be applied.
#5 35.96 E: Release file for http://archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease is not valid yet (invalid for another 3d 8h 22min 33s). Updates for this repository will not be applied.
#5 35.96 E: Release file for http://archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease is not valid yet (invalid for another 3d 8h 23min 10s). Updates for this repository will not be applied.
------
executor failed running [/bin/sh -c DEBIAN_FRONTEND="noninteractive" apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y -q wget libarchive13 libxml2 sharutils tzdata gawk libc-ares2 libavahi-compat-libdnssd-dev libwebsockets15 libcurl4 && apt --fix-broken install && wget https://storage.z-wave.me/z-way-server/z-way-3.1.4_armhf.deb && dpkg -i z-way-*.deb]: exit code: 100
Code: Select all
#version of container: 0.1.0
FROM ubuntu:20.04
ENV TZ=America/Los_Angeles
#add repository and update the container
#Installation of nesesary package/software for this containers...
RUN DEBIAN_FRONTEND="noninteractive" apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y -q wget \
libarchive13 \
libxml2 \
sharutils \
tzdata \
gawk \
libc-ares2 \
libavahi-compat-libdnssd-dev \
libwebsockets15 \
libcurl4 \
&& apt --fix-broken install && wget https://storage.z-wave.me/z-way-server/z-way-3.1.4_armhf.deb && dpkg -i z-way-*.deb
CMD ["/bin/bash"]
ENV LD_LIBRARY_PATH=/opt/z-way-server/libs
ENV PATH=/opt/z-way-server:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
VOLUME ["/opt/z-way-server/config/zddx"]
VOLUME ["/opt/z-way-server/automation/storage"]
VOLUME ["/opt/z-way-server/automation/userModules"]
VOLUME ["/opt/z-way-server/htdocs/smarthome/user/"]
# to allow access from outside of the container to the container service
# at that ports need to allow access from firewall if need to access it outside of the server.
EXPOSE 8083
WORKDIR /opt/z-way-server
# Use baseimage-docker's init system.
CMD ["z-way-server"]