Migrate brotli to v1 issue

30 views
Skip to first unread message

Nitin Goswami

unread,
Oct 9, 2023, 10:12:00 AM10/9/23
to Brotli
Hi team, 
we are using brotli in docker file to create node base image with below steps.
But with latest brotli release this steps are failing with bootstrap not found issue. seems there is major change in new version. can you help me to migrate below mentioned step to v1?

RUN cd brotli && ./bootstrap
RUN cd brotli && ./configure --prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --libexecdir=/usr/lib/brotli --libdir=/usr/lib/brotli
--datarootdir=/usr/share --mandir=/usr/share/man/man1
--docdir=/usr/share/doc

eus...@google.com

unread,
Oct 9, 2023, 10:48:42 AM10/9/23
to Brotli
Hello.

 autotools build is not supported anymore - i.e. there is no bootstrap / configure. Please consider Bazel or CMake builds (https://github.com/google/brotli#cmake).

Best regards,
  Eugene.

Nitin Goswami

unread,
Oct 10, 2023, 3:17:07 AM10/10/23
to Brotli
Hi team, I tried installing brotli with cmake as provided in readme. with below steps but getting brotli not found when i check with brotli --version in my docker file. what am i doing wrong here? Please help
RUN cd brotli && mkdir out && cd out
RUN cd brotli/out && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./installed ..
RUN cd brotli/out && cmake --build . --config Release --target install
RUN brotli --version
Reply all
Reply to author
Forward
0 new messages