This file contains hidden or 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 ruby:2.3 | |
RUN echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list | |
RUN apt-get update && \ | |
apt install -y --only-upgrade --no-install-recommends ca-certificates debian-archive-keyring && \ | |
apt-get install -y --no-install-recommends \ | |
unzip zip \ | |
libmagick++-dev libmariadb-client-lgpl-dev libpcap-dev libssl-dev nodejs vim htop cron ghostscript && \ | |
rm -rf /var/lib/apt/lists/* | |
RUN gem install rack -v '~> 1.6' && \ |
This file contains hidden or 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
# Rbenv thread for old versions after xcode 12+ | |
# https://github.com/rbenv/ruby-build/issues/1489 | |
# PR for openssl 1.0 to support M1 | |
# https://github.com/rbenv/homebrew-tap/pull/2 | |
curl https://raw.githubusercontent.com/rbenv/homebrew-tap/e472b7861b49cc082d1db0f66f265368da107589/Formula/openssl%401.0.rb -o ./[email protected] | |
brew install [email protected] | |
brew --prefix [email protected] | |
brew --prefix readline |
This file contains hidden or 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
commands: | |
01_install_yarn: | |
command: "sudo wget https://dl.yarnpkg.com/rpm/yarn.repo -O /etc/yum.repos.d/yarn.repo && curl --silent --location https://rpm.nodesource.com/setup_6.x | sudo bash - && sudo yum install yarn -y" | |
02_download_nodejs: | |
command: "curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -" | |
03_install_nodejs: | |
command: "yum -y install nodejs" | |
04_mkdir_webapp_dir: | |
command: "mkdir /home/webapp" |