From 1a6c93837c3caa461226e21ee176fe3dfe6b7a08 Mon Sep 17 00:00:00 2001 From: David Boreham Date: Sun, 4 Jun 2023 20:30:47 +0000 Subject: [PATCH] Honor PORTABLE environment variable in lcli build --- lcli/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lcli/Dockerfile b/lcli/Dockerfile index 98f33f215..485ebfd5b 100644 --- a/lcli/Dockerfile +++ b/lcli/Dockerfile @@ -6,7 +6,7 @@ RUN apt-get update && apt-get -y upgrade && apt-get install -y cmake libclang-de COPY . lighthouse ARG PORTABLE ENV PORTABLE $PORTABLE -RUN cd lighthouse && make install-lcli +RUN if [ "$PORTABLE" = true ] ; then export FEATURES=portable; fi && cd lighthouse && make install-lcli FROM ubuntu:22.04 RUN apt-get update && apt-get -y upgrade && apt-get clean && rm -rf /var/lib/apt/lists/*