docker run -it alpine /bin/sh
apk update
apk add bash build-base curl file git gzip libc6-compat ncurses ruby ruby-dbm ruby-etc ruby-irb ruby-json sudo
adduser -D -s /bin/bash linuxbrew
echo 'linuxbrew ALL=(ALL) NOPASSWD:ALL' >>/etc/sudoers
su -l linuxbrew
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
PATH=$HOME/.linuxbrew/bin:$HOME/.linuxbrew/sbin:$PATH
brew update
brew doctor
@aunderwo which Alpine version did you use?
First, the
ruby-dbm
package isn't found. Trying to get anywhere without it, next the installation step warns about the new canonical location:Finally, the tools aren't actually used/found on the system or the dependencies don't match:
I wonder how you made this work