Sign inSign up

cometurrata/sming

By cometurrata

Updated about 8 years ago

Image
0

112

cometurrata/sming repository overview

FROM python:2.7 
RUN apt-get update && \
    apt-get install make autoconf automake libtool libtool-bin gcc gdb g++ gperf flex bison texinfo gawk ncurses-dev libexpat1-dev python sed python-serial python-dev srecord bc git help2man unzip bzip2 unzip -y

RUN pip install pyserial

RUN mkdir -p /etc/sudoers.d/
RUN useradd -s /bin/bash -m esp8266 && \
            echo "esp8266 ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/esp8266 && \
            chmod 0440 /etc/sudoers.d/esp8266

ENV ESP_HOME /opt/esp-open-sdk
ENV SMING_HOME /opt/Sming/Sming
ENV HOME=/home/esp8266

RUN cd /opt && \
    git clone --recursive https://github.com/pfalcon/esp-open-sdk.git && \
    chown esp8266:esp8266 -R ./ 
USER esp8266

RUN cd /opt/esp-open-sdk && \
    make VENDOR_SDK=2.0.0 STANDALONE=y CT_DEBUG_gdb=n 
USER root 

ENV HOME=/root

RUN cd /opt &&  git clone https://github.com/SmingHub/Sming.git

RUN cd /opt/Sming && \
    git checkout origin/master
    
RUN cd $SMING_HOME && make ENABLE_SSL=1

# INSTALL esptool.py
RUN cd /opt && \
    wget https://github.com/themadinventor/esptool/archive/master.zip && \
    unzip master.zip && \ 
    mv esptool-master $ESP_HOME/esptool && \
    rm master.zip

# install esptool2
RUN cd  $ESP_HOME && \ 
    git clone https://github.com/raburton/esptool2 && \
    cd esptool2 && make

ENV PATH $ESP_HOME/esptool2:$PATH

Tag summary

Content type

Image

Digest

Size

1.7 GB

Last updated

about 8 years ago

docker pull cometurrata/sming:v0