Skip to content

Commit 449b498

Browse files
committed
Merge pull request #14 from rosylilly/docker-testing
Add Dockerfile for debugging and testing
2 parents cdcdb4f + c96f60f commit 449b498

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/.git

Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM ubuntu:14.04
2+
MAINTAINER TAGOMORI Satoshi <tagomoris>
3+
MAINTAINER Sho Kusano <rosylilly@aduca.org>
4+
5+
RUN apt-get update -q && apt-get upgrade -yq
6+
RUN apt-get install -yq git curl tar gzip build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev
7+
8+
RUN mkdir -p /usr/local/xbuild
9+
ENV PATH $PATH:/usr/local/xbuild
10+
ADD . /usr/local/xbuild
11+
RUN mv /usr/local/xbuild/install /usr/local/xbuild/xbuild-install

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,14 @@ Include installed `bin/` to PATH:
8181
export PATH=$HOME/local/python-2.7.6/bin:$PATH
8282
pip install -r requirements.txt
8383

84+
## How to try with Docker
85+
86+
You should be install Docker.
87+
88+
$ docker build -t xbuild-try .
89+
$ docker run --rm -i -t xbuild-try /bin/bash
90+
in docker > $ xbuild-install ruby 2.1.1 /usr/local/ruby-2.1.1
91+
8492
## Contributors
8593

8694
* kentaro for PHP

0 commit comments

Comments
 (0)