Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM opensuse
RUN zypper -n install -t pattern devel_basis
RUN zypper -n install sqlite3-devel nodejs ruby ruby-devel git postgresql-devel mysql-devel libmysqlclient-devel gcc-c++ vim
RUN mkdir /peer4commit
WORKDIR /peer4commit
RUN gem install bundler --no-format-executable
# ADD . /peer4commit
# RUN bundler install
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ git clone git@github.com:sigmike/peer4commit.git
cd peer4commit
```

or using docker:
```
cd $DIR # where dir is the git cloned repository
docker build -t <username>/peer4commit .
docker run -ti -v $PWD:/peer4commit <username>/peer4commit /bin/bash
then you will be in the container, in the peer4commit directory
where you can bundle install and change files
```

* Install the sqlite3 development libraries

* Install the gems (without the production gems):
Expand Down