Dockerfile 493 B

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