Skip to content

Commit

Permalink
chore: Remove ISA-specific Package for Media Streaming Dataset (#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
xusine authored Mar 17, 2023
1 parent b45ce2c commit 0a474db
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions benchmarks/media-streaming/dataset/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,12 @@ RUN wget https://downloads.xiph.org/releases/ogg/libogg-1.3.4.tar.gz \
&& cpack -G DEB \
&& dpkg -i /libogg-1.3.4/build/libogg0-1.3.4-Linux.deb

RUN set -eux; \
ARCH="$(dpkg --print-architecture)"; \
case "${ARCH}" in \
aarch64|arm64|amd64|x86_64) \
LIBS='libavcodec58 libavfilter7 libavdevice58 libavformat58 libchromaprint1 libflac8 libvorbisenc2'; \
;; \
riscv64) \
LIBS='libavcodec59 libavfilter8 libavdevice59 libavformat59 libchromaprint1 libflac8 libvorbisenc2'; \
;; \
*) \
echo "Unsupported arch: ${ARCH}"; \
exit 1; \
;; \
esac;

RUN apt-get update && apt-get upgrade -y && apt-get autoremove -y \
&& apt-get install -y --no-install-recommends ${LIBS} \
&& apt-get install -y --no-install-recommends \
libavcodec58 libavfilter7 \
libavdevice58 libavformat58 \
libchromaprint1 libflac8 \
libvorbisenc2 \
software-properties-common \
build-essential \
curl \
Expand Down

0 comments on commit 0a474db

Please sign in to comment.