Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly install build dependencies #45

Merged
merged 1 commit into from
Feb 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down