Skip to content
Snippets Groups Projects
Select Git revision
  • 056ed04fb29fed5ea9be408eb0b5da360047a950
  • master default
  • v0.6.9
  • v0.6.8
  • v0.6.7
  • v0.6.6
  • v0.6.5
  • v0.6.4
  • v0.6.2
9 results

Dockerfile

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Dockerfile 442 B
    FROM lasnq/nqontrol:lib
    ENV PYTHONUNBUFFERED 1
    ENV BUILD_PACKAGES pandoc sass rsync openssh-client build-essential python3-tk
    
    WORKDIR /code
    
    RUN apt-get update -y && apt-get install -y $BUILD_PACKAGES
    
    # Install Python packages
    RUN pip install --upgrade pip
    ADD requirements.txt Makefile /code/
    RUN make requirements
    
    # Configure ADwin device
    ENV adwin_ip_address 192.168.0.3
    RUN /opt/adwin/sbin/adconfig add 1 TYPE net IP $adwin_ip_address