Skip to content

Commit a08b6e6

Browse files
authored
Use newer version of libaom (#363)
* Use newer version of libaom * Install curl
1 parent ae0274c commit a08b6e6

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,14 @@ RUN cd /build && sed -i "s|.\/pics|${IMG_PATH}|g" config.json \
1414

1515
FROM 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

1926
COPY --from=builder /build/webp-server /usr/bin/webp-server
2027
COPY --from=builder /build/config.json /etc/config.json

0 commit comments

Comments
 (0)