Skip to content

Instantly share code, notes, and snippets.

@maemichi-monosense
Created June 25, 2018 05:15
Show Gist options
  • Select an option

  • Save maemichi-monosense/f96f7590f11a07d3b79f40f2d7a1e458 to your computer and use it in GitHub Desktop.

Select an option

Save maemichi-monosense/f96f7590f11a07d3b79f40f2d7a1e458 to your computer and use it in GitHub Desktop.
Amazon Linux 2, Ruby 2.4
version: '3'
services:
ruby:
build: .
image: amzn-ruby:2-2.4
FROM amazonlinux:2
RUN yum -y install yum-plugin-fastestmirror \
&& yum -y update \
;
RUN amazon-linux-extras install -y ruby2.4
CMD tail -f /dev/null
command:
ruby --version:
exit-status: 0
stdout:
- /ruby 2.4.\d+p/
stderr: []
timeout: 1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment