16 lines
448 B
Docker
16 lines
448 B
Docker
FROM ubuntu
|
|
|
|
COPY ./run.sh /opt/workspace/
|
|
RUN apt update
|
|
RUN apt install git python3-pip -y
|
|
RUN pip3 install platformio
|
|
|
|
RUN mkdir -p /opt/workspace
|
|
RUN git clone https://gitea.philsson.com/philip/Hexapod.git /opt/workspace/Hexapod
|
|
WORKDIR /opt/workspace/Hexapod
|
|
RUN mv include/settings.h.orig include/settings.h; mv include/config.h.orig include/config.h
|
|
|
|
RUN pio run -e featheresp32
|
|
|
|
RUN chmod +x /opt/workspace/run.sh;
|
|
CMD /opt/workspace/run.sh |