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
#!/bin/sh | |
# | |
# Copyright (C) 2017 Upper Stream. | |
# | |
# See the bottom of this file for licensing conditions. | |
# | |
#set -x | |
set -e |
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
FROM debian | |
RUN apt-get update && \ | |
apt-get -y install build-essential wget && \ | |
cd /tmp && \ | |
wget -O - http://heirloom.cvs.sourceforge.net/viewvc/heirloom/heirloom-sh/?view=tar | tar zxvf - && \ | |
cd heirloom-sh && \ | |
sed -e 's:^SV3BIN=/usr/5bin:SV3BIN=/usr/local/bin:' -e 's:^MANDIR=/usr/share/man/5man:MANDIR=/usr/share/local/man:' -e 's:^UCBINST=/usr/ucb/install:UCBINST=/usr/bin/install:' makefile > makefile.new && \ | |
mv makefile.new makefile && \ | |
make && \ | |
make install && \ |
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
#!/bin/sh | |
case `uname` in | |
Darwin) | |
sudo -H -u vagrant ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" || sudo -H -u vagrant brew update --force | |
;; | |
FreeBSD) | |
pkg update | |
;; | |
Linux) | |
if uname -r | grep -F tinycore > /dev/null; then |