Skip to content

Commit 9ddfe85

Browse files
committed
Update wasmtime, ubuntu, and rust versions
1 parent c7b85a5 commit 9ddfe85

3 files changed

Lines changed: 126 additions & 78 deletions

File tree

Dockerfile

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM ubuntu:20.04
1+
FROM ubuntu:22.04
22
ARG ARCH
33
ENV LD_LIBRARY_PATH=/usr/local/lib
44
ENV PATH=/usr/local/bin:$PATH
55
CMD ["/bin/bash"]
66
ENV DEBIAN_FRONTEND="noninteractive" TZ="America"
7-
ARG RUST_VERSION="nightly-2023-04-01"
7+
ARG RUST_VERSION="nightly-2023-11-19"
88
ARG WASMTIME_REPO="https://github.com/bytecodealliance/wasmtime/"
9-
ARG WASMTIME_COMMIT="1bfe4b5" # v9.0.1
9+
ARG WASMTIME_COMMIT="5fc1252" # v14.0.4
1010
ARG SIGHTGLASS_REPO="https://github.com/bytecodealliance/sightglass.git"
1111
ARG SIGHTGLASS_BRANCH="main"
1212
ARG 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
4123
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -sSf | sh -s -- --default-toolchain ${RUST_VERSION} -y
4224
ENV PATH=/root/.cargo/bin:${PATH}
@@ -45,7 +27,7 @@ ENV PATH=/root/.cargo/bin:${PATH}
4527
RUN 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
4931
RUN python3 -m pip install termgraph \
5032
&& python3 -m pip install pandas \
5133
&& python3 -m pip install termcolor \

requirements.txt

Lines changed: 121 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,129 @@
1-
attrs==19.3.0
2-
Automat==0.8.0
1+
ansible==8.5.0
2+
ansible-core==2.15.5
3+
apturl==0.5.2
4+
astroid==2.15.1
5+
attrs==21.2.0
6+
autopep8==2.0.2
7+
Babel==2.8.0
8+
bcrypt==3.2.0
9+
black==23.3.0
310
blinker==1.4
4-
certifi==2019.11.28
5-
chardet==3.0.4
6-
Click==7.0
7-
cloud-init==20.1
8-
colorama==0.4.3
11+
Brlapi==0.8.3
12+
certifi==2020.6.20
13+
chardet==4.0.0
14+
click==8.0.3
15+
colorama==0.4.4
916
command-not-found==0.3
10-
configobj==5.0.6
11-
constantly==15.1.0
12-
cryptography==2.8
13-
dbus-python==1.2.16
14-
distro==1.4.0
15-
distro-info===0.23ubuntu1
16-
entrypoints==0.3
17-
httplib2==0.14.0
18-
hyperlink==19.0.0
19-
idna==2.8
20-
importlib-metadata==1.5.0
21-
incremental==16.10.1
22-
Jinja2==2.10.1
23-
jsonpatch==1.22
24-
jsonpointer==2.0
17+
cryptography==3.4.8
18+
cupshelpers==1.0
19+
dbus-python==1.2.18
20+
defer==1.0.6
21+
devscripts===2.22.1ubuntu1
22+
dill==0.3.6
23+
distlib==0.3.4
24+
distro==1.7.0
25+
distro-info==1.1+ubuntu0.1
26+
dnspython==2.1.0
27+
docker==5.0.3
28+
docker-compose==1.29.2
29+
dockerpty==0.4.1
30+
docopt==0.6.2
31+
duplicity==0.8.21
32+
fasteners==0.14.1
33+
filelock==3.6.0
34+
flake8==4.0.1
35+
future==0.18.2
36+
gpg==1.16.0
37+
HelperSDT==0.1.0
38+
httplib2==0.20.2
39+
idna==3.3
40+
importlib-metadata==4.6.4
41+
isort==5.12.0
42+
jeepney==0.7.1
43+
Jinja2==3.0.3
44+
jmespath==0.10.0
2545
jsonschema==3.2.0
26-
keyring==18.0.1
46+
keyring==23.5.0
2747
language-selector==0.1
28-
launchpadlib==1.10.13
29-
lazr.restfulclient==0.14.2
30-
lazr.uri==1.0.3
31-
MarkupSafe==1.1.0
32-
more-itertools==4.2.0
33-
netifaces==0.10.4
34-
oauthlib==3.1.0
35-
pyasn1==0.4.2
36-
pyasn1-modules==0.2.1
37-
PyGObject==3.36.0
38-
PyHamcrest==1.9.0
39-
PyJWT==1.7.1
48+
launchpadlib==1.10.16
49+
lazr.restfulclient==0.14.4
50+
lazr.uri==1.0.6
51+
lazy-object-proxy==1.9.0
52+
lockfile==0.12.2
53+
louis==3.20.0
54+
macaroonbakery==1.3.1
55+
Mako==1.1.3
56+
Markdown==3.3.6
57+
MarkupSafe==2.0.1
58+
mccabe==0.6.1
59+
meld==3.20.4
60+
monotonic==1.6
61+
more-itertools==8.10.0
62+
mypy-extensions==1.0.0
63+
netifaces==0.11.0
64+
ntlm-auth==1.4.0
65+
numpy==1.22.4
66+
oauthlib==3.2.0
67+
olefile==0.46
68+
packaging==23.0
69+
pandas==1.4.2
70+
paramiko==2.9.3
71+
pathspec==0.11.1
72+
pexpect==4.8.0
73+
Pillow==9.0.1
74+
platformdirs==2.5.1
75+
protobuf==3.12.4
76+
ptyprocess==0.7.0
77+
pycairo==1.20.1
78+
pycodestyle==2.11.0
79+
pycups==2.0.1
80+
pyflakes==2.4.0
81+
Pygments==2.11.2
82+
PyGObject==3.42.1
83+
PyJWT==2.3.0
84+
pykerberos==1.1.14
85+
pylint==2.17.1
4086
pymacaroons==0.13.0
41-
PyNaCl==1.3.0
42-
pyOpenSSL==19.0.0
43-
pyrsistent==0.15.5
44-
pyserial==3.4
45-
python-apt==2.0.0
46-
python-debian===0.1.49
47-
PyYAML==5.3.1
48-
requests==2.22.0
49-
requests-unixsocket==0.2.0
50-
SecretStorage==2.3.1
51-
service-identity==18.1.0
52-
simplejson==3.16.0
53-
six==1.14.0
54-
ssh-import-id==5.10
87+
PyNaCl==1.5.0
88+
pyparsing==2.4.7
89+
pyRFC3339==1.1
90+
pyrsistent==0.18.1
91+
python-apt==2.4.0+ubuntu2
92+
python-dateutil==2.8.1
93+
python-debian==0.1.43+ubuntu1.1
94+
python-dotenv==0.19.2
95+
python-magic==0.4.24
96+
pytz==2022.1
97+
pywinrm==0.3.0
98+
pyxdg==0.27
99+
PyYAML==5.4.1
100+
reportlab==3.6.8
101+
requests==2.25.1
102+
requests-kerberos==0.12.0
103+
requests-ntlm==1.1.0
104+
requests-toolbelt==0.9.1
105+
resolvelib==0.8.1
106+
scour==0.38.2
107+
SecretStorage==3.3.1
108+
six==1.16.0
109+
ssh-import-id==5.11
55110
systemd-python==234
56-
Twisted==18.9.0
57-
ubuntu-advantage-tools==20.3
58-
ufw==0.36
111+
texttable==1.6.4
112+
tomli==2.0.1
113+
tomlkit==0.11.7
114+
typing_extensions==4.5.0
115+
ubuntu-advantage-tools==8001
116+
ubuntu-drivers-common==0.0.0
117+
ufw==0.36.1
59118
unattended-upgrades==0.1
60-
urllib3==1.25.8
61-
wadllib==1.3.3
119+
unidiff==0.5.5
120+
urllib3==1.26.5
121+
usb-creator==0.3.7
122+
virtualenv==20.13.0+ds
123+
wadllib==1.3.6
124+
websocket-client==1.2.3
125+
wrapt==1.15.0
126+
xdg==5
127+
xkit==0.0.0
128+
xmltodict==0.12.0
62129
zipp==1.0.0
63-
zope.interface==4.7.1

wasmscore.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash
22
cd sightglass
3-
python3.8 ./wasmscore.py $@
3+
python3.10 ./wasmscore.py $@
44
cd - > /dev/null

0 commit comments

Comments
 (0)