Alpine の Docker イメージに gem install ... でRuby Gemを入れようとしていると、こんあエラーが出ました:
gem install kafkat
... ...
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
何か足りないかんじなので、 build-base をインストールすれば問題は解消:
apk add build-base