From 3ef4f2b61b20cb6e63198da474c18545058b4832 Mon Sep 17 00:00:00 2001 From: Jimmy Chen Date: Fri, 12 Jul 2024 22:57:08 +1000 Subject: [PATCH] Update Dockerfile to use the non legacy syntax `ENV key=value` instead of `ENV key value` --- Dockerfile | 4 ++-- lcli/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index e0c48699bfc..ff7f14d534e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,8 +4,8 @@ COPY . lighthouse ARG FEATURES ARG PROFILE=release ARG CARGO_USE_GIT_CLI=true -ENV FEATURES $FEATURES -ENV PROFILE $PROFILE +ENV FEATURES=$FEATURES +ENV PROFILE=$PROFILE ENV CARGO_NET_GIT_FETCH_WITH_CLI=$CARGO_USE_GIT_CLI RUN cd lighthouse && make diff --git a/lcli/Dockerfile b/lcli/Dockerfile index 4f5c3f2972f..2cc9ce605b3 100644 --- a/lcli/Dockerfile +++ b/lcli/Dockerfile @@ -5,7 +5,7 @@ FROM rust:1.75.0-bullseye AS builder RUN apt-get update && apt-get -y upgrade && apt-get install -y cmake libclang-dev COPY . lighthouse ARG FEATURES -ENV FEATURES $FEATURES +ENV FEATURES=$FEATURES RUN cd lighthouse && make install-lcli FROM ubuntu:22.04