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
# 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} |
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
# -*- 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. |