| 1 |
FROM ubuntu:focal |
| 2 |
|
| 3 |
RUN apt -y update |
| 4 |
RUN apt -y upgrade |
| 5 |
RUN apt -y dist-upgrade |
| 6 |
RUN apt -y autoremove |
| 7 |
RUN apt -y install --fix-missing |
| 8 |
RUN apt -y install apt-utils |
| 9 |
|
| 10 |
RUN apt -y install git scons build-essential g++ |
| 11 |
RUN apt -y install protobuf-compiler python3.8 python3-protobuf |
| 12 |
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.8 1 && update-alternatives --set python /usr/bin/python3.8 |
| 13 |
|
| 14 |
RUN git clone https://github.com/nanopb/nanopb.git |
| 15 |
RUN cd nanopb/tests && scons |
| 16 |
|