remove clang from Dockerfile (#4471)
This commit is contained in:
parent
d41193c318
commit
af4a66846e
@ -1,5 +1,5 @@
|
|||||||
FROM rust:1.68.2-bullseye AS builder
|
FROM rust:1.68.2-bullseye AS builder
|
||||||
RUN apt-get update && apt-get -y upgrade && apt-get install -y cmake clang libclang-dev protobuf-compiler
|
RUN apt-get update && apt-get -y upgrade && apt-get install -y cmake libclang-dev protobuf-compiler
|
||||||
COPY . lighthouse
|
COPY . lighthouse
|
||||||
ARG FEATURES
|
ARG FEATURES
|
||||||
ARG PROFILE=release
|
ARG PROFILE=release
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# - from the `lighthouse` dir with the command: `docker build -f ./lcli/Dockerflie .`
|
# - from the `lighthouse` dir with the command: `docker build -f ./lcli/Dockerflie .`
|
||||||
# - from the current directory with the command: `docker build -f ./Dockerfile ../`
|
# - from the current directory with the command: `docker build -f ./Dockerfile ../`
|
||||||
FROM rust:1.68.2-bullseye AS builder
|
FROM rust:1.68.2-bullseye AS builder
|
||||||
RUN apt-get update && apt-get -y upgrade && apt-get install -y cmake clang libclang-dev protobuf-compiler
|
RUN apt-get update && apt-get -y upgrade && apt-get install -y cmake libclang-dev protobuf-compiler
|
||||||
COPY . lighthouse
|
COPY . lighthouse
|
||||||
ARG PORTABLE
|
ARG PORTABLE
|
||||||
ENV PORTABLE $PORTABLE
|
ENV PORTABLE $PORTABLE
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
FROM rust:1.68.2-bullseye AS builder
|
FROM rust:1.68.2-bullseye AS builder
|
||||||
RUN apt-get update && apt-get -y upgrade && apt-get install -y cmake clang libclang-dev protobuf-compiler
|
RUN apt-get update && apt-get -y upgrade && apt-get install -y cmake libclang-dev protobuf-compiler
|
||||||
COPY . lighthouse
|
COPY . lighthouse
|
||||||
|
|
||||||
# Build lighthouse directly with a cargo build command, bypassing the Makefile.
|
# Build lighthouse directly with a cargo build command, bypassing the Makefile.
|
||||||
|
Loading…
Reference in New Issue
Block a user