softwareupdate --list
sudo softwareupdate --verbose --install --all
COMPUTER_NAME="<computer-name>"
sudo scutil --set ComputerName $COMPUTER_NAME
PROVISION_SYSTEM = <<~EOS | |
set -e | |
apt-get update --yes | |
apt-get install --yes gcc | |
apt-get install --yes make | |
EOS | |
PROVISION_USER = <<~EOS | |
set -e | |
mkdir -p ~/.rbenv |
require 'rails_helper' | |
RSpec.describe MyController do | |
describe 'GET #any_action' do | |
controller do | |
def any_action | |
head :ok | |
end | |
end |
source 'https://rubygems.org' | |
gem 'minitest' | |
gem 'mocha' |
aws-codebuild-docker-images/ubuntu/ruby/2.5.3 $ docker build -t aws/codebuild/ruby:2.5.3 . | |
Sending build context to Docker daemon 10.24kB | |
Step 1/13 : FROM ubuntu:14.04.5 | |
---> 132b7427a3b4 | |
Step 2/13 : ENV DOCKER_BUCKET="download.docker.com" DOCKER_VERSION="17.09.0-ce" DOCKER_CHANNEL="stable" DOCKER_SHA256="a9e90a73c3cdfbf238f148e1ec0eaff5eb181f92f35bdd938fd7dab18e1c4647" DIND_COMMIT="3b5fac462d21ca164b3778647420016315289034" DOCKER_COMPOSE_VERSION="1.21.2" GITVERSION_VERSION="3.6.5" | |
---> Using cache | |
---> b8af7e6d7dc8 | |
Step 3/13 : RUN set -ex && echo 'Acquire::CompressionTypes::Order:: "gz";' > /etc/apt/apt.conf.d/99use-gzip-compression && apt-get update && apt install -y apt-transport-https && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF && echo "deb https://download.mono-project.com/repo/ubuntu stable-trusty main" | tee /etc/apt/sources.list.d/mono-official-stable.list && apt-get update && apt- |
bundle config --local build.RedCloth --with-cflags="-w" | |
bundle install |
brew install gcc@4.9 | |
export RUBY_CONFIGURE_OPTS=--with-openssl-dir=`brew --prefix openssl` | |
export CONFIGURE_OPTS=--with-openssl-dir=`brew --prefix openssl` | |
rbenv install 1.8.7-p375 |
source 'https://rubygems.org' | |
gem 'rspec' |
I hereby claim:
To claim this, I am signing this object: