From 11f9f113dc0229f2cfc1e1580fd1044e486143f5 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Sun, 25 Feb 2024 20:04:11 -0800 Subject: [PATCH] Explicitly install build dependencies --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f074e06..7345e41 100644 --- a/Dockerfile +++ b/Dockerfile @@ -65,9 +65,9 @@ COPY build_ruby.sh /tmp RUN set -ex \ && apt-get update \ && apt-get install ${packages} \ - libjemalloc-dev libssl-dev libyaml-dev zlib1g-dev tzdata valgrind wget ca-certificates sudo docker.io \ - libreadline-dev libcapstone-dev \ - && apt-get build-dep ruby${system_ruby} \ + autoconf patch build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev \ + libgmp-dev libncurses5-dev libffi-dev libgdbm6 libgdbm-dev libdb-dev uuid-dev \ + libjemalloc-dev tzdata valgrind wget ca-certificates sudo docker.io libcapstone-dev \ && bash -c "if [[ -n '$system_ruby' ]]; then apt-get install 'ruby${system_ruby}'; fi" \ && bash -c "if [[ -n '$build_ruby' ]]; then /tmp/build_ruby.sh '$build_ruby'; fi" \ && rm /tmp/build_ruby.sh