5
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

CentOS7+rails4のdockerイメージ作った(750.1 MB,rails4.1.4,ruby2.0)

Last updated at Posted at 2014-07-11

起動方法

docker run -i -t tukiyo3/centos7-ja-rails4-ruby2.0 /bin/bash

作成手順

docker起動
docker run -it tukiyo3/centos-ja:7.0 /bin/bash
railsをビルドするために必要なライブラリ
yum install -y openssl-devel \
  git wget unzip which mercurial tar gcc gcc-c++ \
  patch libyaml-devel libffi-devel readline-devel \
  zlib-devel automake libtool bison bzip2 \
  mysql-server sqlite-devel ruby ruby-devel
yum clean all
railsをインストール
gem install bundler rails --no-ri --no-rdoc
5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?