Skip to content

Commit 6ed78fc

Browse files
committed
??
1 parent ae8c110 commit 6ed78fc

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

haskell/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ FROM debian:bookworm-slim
33
RUN \
44
apt-get update && \
55
apt-get install curl make ca-certificates xz-utils -y --no-install-recommends && \
6-
rm -rf /var/lib/apt/lists/* && \
76
curl -sSL https://get.haskellstack.org/ | sh
87

98
WORKDIR /work

python/Dockerfile.benchmark

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ RUN apt-get update \
55
&& apt-get install -y git build-essential unzip curl libjson-perl libdigest-crc-perl
66

77
# install perl runtime for kaitai struct
8-
WORKDIR /tmp
98
RUN \
9+
cd /tmp \
1010
&& curl -LO https://github.com/kaitai-io/kaitai_struct_perl_runtime/archive/refs/tags/0.10.zip \
1111
&& unzip 0.10.zip \
1212
&& cd kaitai_struct_perl_runtime-0.10 \
@@ -15,10 +15,12 @@ RUN \
1515
&& rm -rf /tmp/*
1616

1717
WORKDIR /work
18-
COPY . /work
18+
ADD . /work
1919

20-
RUN pip3 install -r /work/setup_requirements.txt \
21-
&& pip3 install -r /work/requirements.txt \
22-
&& pip3 install kaitaistruct \
23-
&& pip3 install wheel setuptools '.[sbp2json]'
20+
RUN pip3 install -r /work/setup_requirements.txt
21+
RUN pip3 install -r /work/requirements.txt
22+
RUN pip3 install kaitaistruct
2423

24+
RUN pip3 install wheel setuptools
25+
26+
RUN pip3 install '.[sbp2json]'

rust/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ ARG SCCACHE_URL=https://github.com/mozilla/sccache/releases/download/${SCCACHE_F
99
ENV SCCACHE_CACHE_SIZE=100G
1010
ENV SCCACHE_DIR=/opt/sccache
1111

12-
RUN mkdir -p "$SCCACHE_DIR"
12+
RUN mkdir -p $SCCACHE_DIR
1313

1414
RUN \
15-
apt-get update \
16-
&& apt-get install -y build-essential curl libssl-dev make musl-tools pkg-config \
15+
apt-get update \
16+
&& apt-get install -y libssl-dev pkg-config curl build-essential make musl-tools \
1717
&& curl -sSL -o /tmp/sccache.tgz "${SCCACHE_URL}" \
1818
&& mkdir /tmp/sccache \
1919
&& tar --strip-components=1 -C /tmp/sccache -xzf /tmp/sccache.tgz \

0 commit comments

Comments
 (0)