1- FROM ubuntu:20 .04
1+ FROM ubuntu:22 .04
22ARG ARCH
33ENV LD_LIBRARY_PATH=/usr/local/lib
44ENV PATH=/usr/local/bin:$PATH
55CMD ["/bin/bash" ]
66ENV DEBIAN_FRONTEND="noninteractive" TZ="America"
7- ARG RUST_VERSION="nightly-2023-04-01 "
7+ ARG RUST_VERSION="nightly-2023-11-19 "
88ARG WASMTIME_REPO="https://github.com/bytecodealliance/wasmtime/"
9- ARG WASMTIME_COMMIT="1bfe4b5 " # v9 .0.1
9+ ARG WASMTIME_COMMIT="5fc1252 " # v14 .0.4
1010ARG SIGHTGLASS_REPO="https://github.com/bytecodealliance/sightglass.git"
1111ARG SIGHTGLASS_BRANCH="main"
1212ARG SIGHTGLASS_COMMIT="e89fce0"
@@ -19,24 +19,6 @@ RUN apt-get update \
1919 psmisc lsof git nano zlib1g-dev libedit-dev time yasm \
2020 libssl-dev pkg-config
2121
22- # Bionic does not carry a recent enough cmake needed for wamr but upgrading
23- # to Focal causes other build issues so the straight forward solution is to just
24- # install a version of cmake that is recent enough from a separate repository
25- RUN wget -qO - https://apt.kitware.com/keys/kitware-archive-latest.asc | apt-key add -
26- RUN apt-add-repository 'deb https://apt.kitware.com/ubuntu/ focal main'
27- RUN apt-get update && apt-get install --yes cmake
28-
29- # Install wabt
30- WORKDIR /opt
31- RUN git clone --recurse-submodules https://github.com/WebAssembly/wabt.git \
32- && cd wabt \
33- && mkdir build \
34- && cd build \
35- && cmake .. \
36- && cmake --build . \
37- && make
38- ENV PATH=$PATH:/opt/wabt/bin/
39-
4022# Install rust
4123RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -sSf | sh -s -- --default-toolchain ${RUST_VERSION} -y
4224ENV PATH=/root/.cargo/bin:${PATH}
@@ -45,7 +27,7 @@ ENV PATH=/root/.cargo/bin:${PATH}
4527RUN apt-get install -y --no-install-recommends clang
4628
4729# Install python
48- RUN apt-get install -y --no-install-recommends python3.8 libpython3.8 python3-distutils python3-pip
30+ RUN apt-get install -y --no-install-recommends python3.10 libpython3.10 python3-distutils python3-pip
4931RUN python3 -m pip install termgraph \
5032 && python3 -m pip install pandas \
5133 && python3 -m pip install termcolor \
0 commit comments