Skip to content

Commit

Permalink
Remove unnecessary bison for Ruby 3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hachi8833 authored and tianon committed Feb 7, 2024
1 parent c473741 commit 90c7a1d
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion 3.3/alpine3.18/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion 3.3/alpine3.19/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion 3.3/bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion 3.3/bullseye/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion 3.3/slim-bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion 3.3/slim-bullseye/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ RUN set -eux; \
{{ if is_alpine then ( -}}
apk add --no-cache --virtual .ruby-builddeps \
autoconf \
{{ if [ "3.0", "3.1", "3.2" ] | index(env.version | rtrimstr("-rc")) then ( -}}
{{ # https://github.com/docker-library/ruby/pull/438 -}}
bison \
{{ ) else "" end -}}
bzip2 \
bzip2-dev \
ca-certificates \
Expand Down Expand Up @@ -103,7 +106,10 @@ RUN set -eux; \
savedAptMark="$(apt-mark showmanual)"; \
apt-get update; \
apt-get install -y --no-install-recommends \
{{ if [ "3.0", "3.1", "3.2" ] | index(env.version | rtrimstr("-rc")) then ( -}}
{{ # https://github.com/docker-library/ruby/pull/438 -}}
bison \
{{ ) else "" end -}}
dpkg-dev \
libgdbm-dev \
ruby \
Expand Down

0 comments on commit 90c7a1d

Please sign in to comment.