mirror of
https://github.com/google/pebble.git
synced 2025-08-27 02:17:35 -04:00
Import of the watch repository from Pebble
This commit is contained in:
commit
3b92768480
10334 changed files with 2564465 additions and 0 deletions
17
third_party/nanopb/tests/docker_images/README.md
vendored
Normal file
17
third_party/nanopb/tests/docker_images/README.md
vendored
Normal file
|
@ -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
|
||||
|
||||
|
8
third_party/nanopb/tests/docker_images/build_all.sh
vendored
Executable file
8
third_party/nanopb/tests/docker_images/build_all.sh
vendored
Executable file
|
@ -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
|
||||
|
15
third_party/nanopb/tests/docker_images/ubuntu1804/Dockerfile
vendored
Normal file
15
third_party/nanopb/tests/docker_images/ubuntu1804/Dockerfile
vendored
Normal file
|
@ -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
|
||||
|
16
third_party/nanopb/tests/docker_images/ubuntu2004/Dockerfile
vendored
Normal file
16
third_party/nanopb/tests/docker_images/ubuntu2004/Dockerfile
vendored
Normal file
|
@ -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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue