Last active
March 28, 2019 05:10
-
-
Save mur6/bc147f84765b60c03fff1babd31d33d0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ref. https://github.com/Linuxbrew/brew/wiki/Alpine-Linux | |
FROM alpine:latest | |
RUN apk update | |
RUN apk add bash build-base curl \ | |
file git gzip libc6-compat \ | |
ncurses ruby \ | |
ruby-dbm ruby-etc \ | |
ruby-irb ruby-json \ | |
sudo coreutils grep | |
RUN apk add ruby-bigdecimal | |
RUN adduser -D -s /bin/bash linuxbrew | |
RUN echo 'linuxbrew ALL=(ALL) NOPASSWD:ALL' >>/etc/sudoers | |
RUN su - linuxbrew -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)" | |
#RUN /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install)" | |
RUN brew install boost |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment