Skip to content

Instantly share code, notes, and snippets.

@maemichi-monosense
Last active June 25, 2018 04:34
Show Gist options
  • Save maemichi-monosense/d52ed22e1c243c2b63a4f57e107aab99 to your computer and use it in GitHub Desktop.
Save maemichi-monosense/d52ed22e1c243c2b63a4f57e107aab99 to your computer and use it in GitHub Desktop.
Amazon Linux 1, Ruby 2.4
version: '3'
services:
ruby:
build: .
image: amzn-ruby:1-2.4
FROM amazonlinux:1
RUN yum -y install yum-plugin-fastestmirror \
&& yum -y update \
;
RUN yum -y install ruby24
CMD tail -f /dev/null
command:
ruby --version:
exit-status: 0
stdout:
- /ruby 2.4.\d+p/
stderr: []
timeout: 1000
@maemichi-monosense
Copy link
Author

Test

docker-compose build
dgoss run amzn-ruby:1-2.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment