diff options
author | AdamKorcz <44787359+AdamKorcz@users.noreply.github.com> | 2020-04-22 16:12:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-22 08:12:39 -0700 |
commit | 2a3d29d429a10b97e1eb93b6cd9d865722703ab8 (patch) | |
tree | 561e93be73f39b9750a264c46358a918bc2ed00c /projects/nanopb | |
parent | 2e205415025642d6c7b2eb8281746c571acc0d70 (diff) |
Suggested fix for broken build (#3693)
Diffstat (limited to 'projects/nanopb')
-rw-r--r-- | projects/nanopb/Dockerfile | 4 | ||||
-rwxr-xr-x | projects/nanopb/build.sh | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/projects/nanopb/Dockerfile b/projects/nanopb/Dockerfile index d483e2ed..3bd42107 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 f62dfae1..c73d32f6 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 |