Dockerfile for installing lldb-x

Home   »   Dockerfile for installing lldb-x

FROM debian:buster

WORKDIR /app

ENV LLDB_VERSION=11

RUN apt-get update && apt-get install -y \
        lsb-release \
        apt-utils \
        gnupg \
        wget \
        software-properties-common && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/*

RUN wget https://apt.llvm.org/llvm.sh && \
    chmod +x llvm.sh && \
    ./llvm.sh ${LLDB_VERSION} && \
    rm -rf ./llvm.sh

RUN ln -sf /usr/bin/lldb-11 /usr/bin/lldb

Leave a Reply

Your email address will not be published. Required fields are marked *