mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2026-01-04 15:49:02 +03:00
add nanopb (manual)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
Docker files
|
||||
------------
|
||||
|
||||
This folder contains docker files that are used in testing nanopb automatically
|
||||
on various platforms.
|
||||
|
||||
By default they take the newest master branch code from github.
|
||||
|
||||
To build tests for a single target, use for example:
|
||||
|
||||
docker build ubuntu1804
|
||||
|
||||
To build tests for all targets, use:
|
||||
|
||||
./build_all.sh
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
# Run all targets
|
||||
for file in `ls */Dockerfile`
|
||||
do echo -e "\n\n\n---------------------------------------- Building image for" $file " -------------------------------------------\n\n\n"
|
||||
docker build $(dirname $file)
|
||||
done
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
FROM ubuntu:bionic
|
||||
|
||||
RUN apt -y update
|
||||
RUN apt -y upgrade
|
||||
RUN apt -y dist-upgrade
|
||||
RUN apt -y autoremove
|
||||
RUN apt -y install --fix-missing
|
||||
RUN apt -y install apt-utils
|
||||
|
||||
RUN apt -y install git scons build-essential g++
|
||||
RUN apt -y install protobuf-compiler python3-protobuf python3
|
||||
|
||||
RUN git clone https://github.com/nanopb/nanopb.git
|
||||
RUN cd nanopb/tests && scons
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
FROM ubuntu:focal
|
||||
|
||||
RUN apt -y update
|
||||
RUN apt -y upgrade
|
||||
RUN apt -y dist-upgrade
|
||||
RUN apt -y autoremove
|
||||
RUN apt -y install --fix-missing
|
||||
RUN apt -y install apt-utils
|
||||
|
||||
RUN apt -y install git scons build-essential g++
|
||||
RUN apt -y install protobuf-compiler python3.8 python3-protobuf
|
||||
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.8 1 && update-alternatives --set python /usr/bin/python3.8
|
||||
|
||||
RUN git clone https://github.com/nanopb/nanopb.git
|
||||
RUN cd nanopb/tests && scons
|
||||
|
||||
Reference in New Issue
Block a user