mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Make lcli docker image portable (#5069)
* Set lcli docker build to use portable feature (#4370) * Merge remote-tracking branch 'origin/unstable' into unstable
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
FROM rust:1.73.0-bullseye AS builder
|
||||
RUN apt-get update && apt-get -y upgrade && apt-get install -y cmake libclang-dev
|
||||
COPY . lighthouse
|
||||
ARG PORTABLE
|
||||
ENV PORTABLE $PORTABLE
|
||||
ARG FEATURES
|
||||
ENV FEATURES $FEATURES
|
||||
RUN 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/*
|
||||
COPY --from=builder /usr/local/cargo/bin/lcli /usr/local/bin/lcli
|
||||
COPY --from=builder /usr/local/cargo/bin/lcli /usr/local/bin/lcli
|
||||
|
||||
Reference in New Issue
Block a user