File tree Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ FROM debian:bookworm-slim
33RUN \
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
98WORKDIR /work
Original file line number Diff line number Diff line change 11FROM python:3.7-slim-bookworm
22
33ENV DEBIAN_FRONTEND=noninteractive
4- RUN apt-get update \
5- && apt-get install -y build-essential curl git libdigest-crc-perl libjson-perl unzip \
6- && rm -rf /var/lib/apt/lists/*
4+ RUN apt-get update \
5+ && apt-get install -y git build-essential unzip curl libjson-perl libdigest-crc-perl
76
87# install perl runtime for kaitai struct
9- WORKDIR /tmp
108RUN \
9+ cd /tmp \
1110 && curl -LO https://github.com/kaitai-io/kaitai_struct_perl_runtime/archive/refs/tags/0.10.zip \
1211 && unzip 0.10.zip \
1312 && cd kaitai_struct_perl_runtime-0.10 \
@@ -16,10 +15,12 @@ RUN \
1615 && rm -rf /tmp/*
1716
1817WORKDIR /work
19- COPY . /work
18+ ADD . /work
2019
21- RUN pip3 install -r /work/setup_requirements.txt \
22- && pip3 install -r /work/requirements.txt \
23- && pip3 install kaitaistruct \
24- && 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
2523
24+ RUN pip3 install wheel setuptools
25+
26+ RUN pip3 install '.[sbp2json]'
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ ARG SCCACHE_URL=https://github.com/mozilla/sccache/releases/download/${SCCACHE_F
99ENV SCCACHE_CACHE_SIZE=100G
1010ENV SCCACHE_DIR=/opt/sccache
1111
12- RUN mkdir -p " $SCCACHE_DIR"
12+ RUN mkdir -p $SCCACHE_DIR
1313
1414RUN \
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 \
You can’t perform that action at this time.
0 commit comments