Skip to content

Commit 0b0cdd2

Browse files
authored
Update rust Docker image to rust:1.88.0-slim (#1486)
Update the rust Docker image to the latest version (rust:1.88.0-slim) to fix compilation of sbp2json. Also bump the haskell and python benchmarking Docker images to debian:bookworm-slim to fix the benchmark step in CI.
1 parent 635fc94 commit 0b0cdd2

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/haskell.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
jobs:
1515
build:
1616
name: Build
17-
runs-on: ubuntu-20.04
17+
runs-on: ubuntu-24.04
1818
steps:
1919
- uses: actions/checkout@v4
2020

haskell/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM debian:buster-slim
1+
FROM debian:bookworm-slim
22

33
RUN \
44
apt-get update && \

python/Dockerfile.benchmark

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM python:3.7-slim-buster
1+
FROM python:3.7-slim-bookworm
22

33
ENV DEBIAN_FRONTEND=noninteractive
44
RUN apt-get update \
5-
&& apt-get install -y git llvm-7-dev build-essential unzip curl libjson-perl libdigest-crc-perl
5+
&& apt-get install -y git build-essential unzip curl libjson-perl libdigest-crc-perl
66

77
# install perl runtime for kaitai struct
88
RUN \

rust/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rust:1.67.1-slim-buster
1+
FROM rust:1.88.0-slim
22

33
ARG DEBIAN_FRONTEND=noninterative
44

test_data/benchmark_main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
# How much faster Rust should be than other implementations
1313
RATIOS_SBP2JSON = {
14-
"haskell" : 3.01,
14+
"haskell" : 3.2,
1515
"python" : 23.38,
1616
"kaitai_python" : 5.00,
17-
"kaitai_perl" : 18,
17+
"kaitai_perl" : 20,
1818
}
1919

2020
RATIOS_JSON2SBP = {

0 commit comments

Comments
 (0)