You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/bin/sh
# Clone the SIP repository if the directory is empty
if [ -z "$(ls -A /SIP)" ]; then
git clone https://github.com/Dan-in-CA/SIP /SIP
fi
# Run the application
exec python3 -u /SIP/sip.py
requirements.txt
urllib3
six
#RPI.GPIO
#pigpio
And then: docker-compose up --build
Building sip-irrigation
[+] Building 0.1s (12/12) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 509B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/ubuntu:22.04 0.0s
=> [1/7] FROM docker.io/library/ubuntu:22.04 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 64B 0.0s
=> CACHED [2/7] RUN apt-get -y update && apt-get -y install git python3 curl python3-pip 0.0s
=> CACHED [3/7] WORKDIR /SIP 0.0s
=> CACHED [4/7] COPY requirements.txt /SIP/requirements.txt 0.0s
=> CACHED [5/7] RUN pip3 install --no-cache-dir -r /SIP/requirements.txt 0.0s
=> CACHED [6/7] COPY init.sh /init.sh 0.0s
=> CACHED [7/7] RUN chmod +x /init.sh 0.0s
=> exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:1bb34db93f60ab5c4d1e4e4998df3d7f7005e4221d1df5245a5731d8a9614cd1 0.0s
=> => naming to docker.io/library/docker_sip-irrigation:latest 0.0s
Starting sip-irrigation ... done
Attaching to sip-irrigation
sip-irrigation | Cloning into '/SIP'...
sip-irrigation | WARNING: No GPIO library was loaded,
sip-irrigation | SIP will run but stations will NOT be activated.
sip-irrigation | Please be sure either RPI.GPIO or pigpio for Python (or both) is installed.
sip-irrigation | error importing GPIO pins into helpers
sip-irrigation | Ignoring exception while loading the plugin_manager plug-in.
sip-irrigation | No module named 'charset_normalizer'
sip-irrigation | plugins loaded:
sip-irrigation | mobile_app
sip-irrigation | system_update
sip-irrigation | Starting timing loop
sip-irrigation |
sip-irrigation | http://:::80/
Running....
Thanks!
The text was updated successfully, but these errors were encountered:
I'm running SIP in a Docker with this issues:
Nowadays I think it's essential to be able to run Dockers
I provide everything to create one, can someone help me?
TIMEZONE
DOCKER SETUP
DOCKER BUILD
And then:
docker-compose up --build
Running....
Thanks!
The text was updated successfully, but these errors were encountered: