File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,14 @@ RUN cd /build && sed -i "s|.\/pics|${IMG_PATH}|g" config.json \
1414
1515FROM debian:bookworm-slim
1616
17- RUN apt update && apt install --no-install-recommends libvips ca-certificates libjemalloc2 libtcmalloc-minimal4 -y && rm -rf /var/lib/apt/lists/* && rm -rf /var/cache/apt/archives/*
17+ RUN apt update && apt install --no-install-recommends libvips ca-certificates libjemalloc2 libtcmalloc-minimal4 curl -y && rm -rf /var/lib/apt/lists/* && rm -rf /var/cache/apt/archives/*
18+
19+ # Download and install libam with correct arch
20+ # http://ftp.us.debian.org/debian/pool/main/a/aom/libaom3_3.11.0~rc1-1_amd64.deb
21+ # http://ftp.us.debian.org/debian/pool/main/a/aom/libaom3_3.11.0~rc1-1_arm64.deb
22+ RUN curl -O http://ftp.us.debian.org/debian/pool/main/a/aom/libaom3_3.11.0~rc1-1_$(dpkg --print-architecture).deb && \
23+ dpkg -i libaom3_3.11.0~rc1-1_$(dpkg --print-architecture).deb && \
24+ rm libaom3_3.11.0~rc1-1_$(dpkg --print-architecture).deb
1825
1926COPY --from=builder /build/webp-server /usr/bin/webp-server
2027COPY --from=builder /build/config.json /etc/config.json
You can’t perform that action at this time.
0 commit comments