fb2a766e
Antoine Duquenoy
Programme C serve...
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
FROM debian:latest
RUN apt-get update
RUN apt-get install -y git python2.7 python-pip gcc-arm-none-eabi && \
pip install mbed-cli
WORKDIR /arm
RUN mbed import https://github.com/ARMmbed/mbed-os-example-blinky && \
cd mbed-os-example-blinky && \
mbed compile -t GCC_ARM -m NUCLEO_F401RE && \
rm main.cpp && \
cd ..
COPY ./start.sh /arm
RUN chmod +x ./start.sh
ENTRYPOINT ./start.sh
|