Skip to content

Commit

Permalink
Update Dockerfile to work on latest version of Docker (#6087)
Browse files Browse the repository at this point in the history
* Update Dockerfile to use the non legacy syntax `ENV key=value` instead of `ENV key value`
  • Loading branch information
jimmygchen authored Jul 15, 2024
1 parent 2f0af2b commit cb1e8dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion lcli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cb1e8dc

Please sign in to comment.