Skip to content

Instantly share code, notes, and snippets.

@mfittko
mfittko / Dockerfile
Last active April 13, 2023 06:28 — forked from uyorum/Dockerfile
Dockerfile for AWS CodeBuild with Ruby 3.2.2
# Start with the AWS CodeBuild standard image
FROM public.ecr.aws/codebuild/amazonlinux2-x86_64-standard:4.0 as builder
RUN yum install -y git make gcc bzip2 openssl-devel libyaml-devel libffi-devel readline-devel zlib-devel gdbm-devel ncurses-devel && \
git clone https://github.com/rbenv/ruby-build.git && \
PREFIX=/usr/local ./ruby-build/install.sh
ARG RUBY_VERSION
ENV RUBY_VERSION=${RUBY_VERSION:-3.2.2}
ENV RUBY_DIR=/usr/local/ruby-${RUBY_VERSION}
@mfittko
mfittko / Vagrantfile
Created May 10, 2017 13:02 — forked from foscomputerservices/Vagrantfile
Vagrantfile for Running RubyMine under Vagrant/VirtualBox/Ubuntu on Mac or Windows
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure(2) do |config|
# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.