aboutsummaryrefslogtreecommitdiff
path: root/projects/nanopb
diff options
context:
space:
mode:
authorAdamKorcz <44787359+AdamKorcz@users.noreply.github.com>2020-04-22 16:12:39 +0100
committerGitHub <noreply@github.com>2020-04-22 08:12:39 -0700
commit2a3d29d429a10b97e1eb93b6cd9d865722703ab8 (patch)
tree561e93be73f39b9750a264c46358a918bc2ed00c /projects/nanopb
parent2e205415025642d6c7b2eb8281746c571acc0d70 (diff)
downloadoss-fuzz-2a3d29d429a10b97e1eb93b6cd9d865722703ab8.tar.gz
Suggested fix for broken build (#3693)
Diffstat (limited to 'projects/nanopb')
-rw-r--r--projects/nanopb/Dockerfile4
-rwxr-xr-xprojects/nanopb/build.sh2
2 files changed, 4 insertions, 2 deletions
diff --git a/projects/nanopb/Dockerfile b/projects/nanopb/Dockerfile
index d483e2edf..3bd421074 100644
--- a/projects/nanopb/Dockerfile
+++ b/projects/nanopb/Dockerfile
@@ -19,5 +19,9 @@ MAINTAINER jpa@npb.mail.kapsi.fi
RUN apt-get update && apt-get install -y python3-pip git scons wget
RUN python3 -m pip install --upgrade pip
RUN git clone --depth 1 https://github.com/nanopb/nanopb $SRC/nanopb
+
+RUN wget "https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh"
+RUN bash "Anaconda3-2020.02-Linux-x86_64.sh" -b
+
COPY build.sh $SRC/
diff --git a/projects/nanopb/build.sh b/projects/nanopb/build.sh
index f62dfae14..c73d32f66 100755
--- a/projects/nanopb/build.sh
+++ b/projects/nanopb/build.sh
@@ -15,8 +15,6 @@
#
################################################################################
-wget "https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh"
-bash "Anaconda3-2020.02-Linux-x86_64.sh" -b
export PATH=~/anaconda3/bin:$PATH
conda install protobuf -y
pip3 install grpcio-tools