Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
yuleisui authored May 27, 2024
1 parent 0eae653 commit 6f347c2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM ubuntu:23.04
# use ubuntu 22.04 or 24.04 to support deadsnakes-ppa
FROM ubuntu:24.04

# Stop ubuntu-20 interactive options.
ENV DEBIAN_FRONTEND noninteractive
Expand All @@ -13,9 +14,11 @@ ENV llvm_version=16.0.0
ENV HOME=/home/SVF-tools

# Define dependencies.
ENV lib_deps="cmake g++ gcc git zlib1g-dev libncurses5-dev libtinfo5 build-essential libssl-dev libpcre2-dev zip vim libzstd-dev"
ENV build_deps="wget xz-utils git gdb tcl python-is-python3"
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"

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

0 comments on commit 6f347c2

Please sign in to comment.