Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
blue-jam authored Aug 13, 2019
1 parent 272ec2f commit fb0665f
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,37 @@
[![Build Status](https://travis-ci.org/blue-jam/rime-docker.svg?branch=master)](https://travis-ci.org/blue-jam/rime-docker)

A docker image including rime, C++, Java, Kotlin, and Python.

[Docker Hub](https://hub.docker.com/r/bluejamkmy/rime-docker)

## Usage

You may have to run `docker` commands as a super user.

1. Pull `rime-docker` image from Docker Hub by

```
$ docker pull bluejamkmy/rime-docker
```

1. Save [`Dockerfile`](Dockerfile.example) in your rime project directory:

```Dockerfile
FROM bluejamkmy/rime-docker

COPY . /rime_project

WORKDIR /rime_project
```

1. Build a docker image for your project by

```
$ docker build -t myrime .
```

1. Run your container by

```
$ docker run -it myrime rime test
```

0 comments on commit fb0665f

Please sign in to comment.