Skip to content

Commit

Permalink
update Dockerfile: lldb -> gdb (#1471)
Browse files Browse the repository at this point in the history
* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile
  • Loading branch information
jumormt authored May 27, 2024
1 parent 52b7977 commit 1d96dac
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,20 @@ ENV llvm_version=16.0.0
ENV HOME=/home/SVF-tools

# Define dependencies.
ENV lib_deps="cmake g++ gcc git zlib1g-dev libncurses5-dev libtinfo6 build-essential libssl-dev libpcre2-dev zip vim libzstd-dev"
ENV build_deps="wget xz-utils git gdb tcl python3.8 python3.8-dev python3.8-venv software-properties-common"
ENV lib_deps="cmake g++ gcc git zlib1g-dev libncurses5-dev libtinfo6 build-essential libssl-dev libpcre2-dev zip libzstd-dev"
ENV build_deps="wget xz-utils git tcl software-properties-common"

# Add deadsnakes PPA for multiple Python versions
RUN add-apt-repository ppa:deadsnakes/ppa
# Fetch dependencies.
RUN apt-get update --fix-missing
RUN apt-get install -y $build_deps $lib_deps

# Add deadsnakes PPA for multiple Python versions
RUN add-apt-repository ppa:deadsnakes/ppa
RUN apt-get update
RUN apt-get install -y python3.8-dev
# Ensure python3.8 is available and set as default for lldb
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1

# Fetch and build SVF source.
RUN echo "Downloading LLVM and building SVF to " ${HOME}
WORKDIR ${HOME}
Expand Down

0 comments on commit 1d96dac

Please sign in to comment.