-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The cloud is cool, so is OlegDB. I use this for getting OlegDB on my servers and I think you'd think this is cool too. Synergytastic.
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
*.swo | ||
*.swp | ||
olegdb | ||
*.o | ||
*.dump | ||
data | ||
.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM ubuntu:trusty | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends build-essential make golang &&\ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
ADD . /usr/src/olegdb | ||
|
||
RUN cd /usr/src/olegdb && make && make install &&\ | ||
mkdir /oleg | ||
|
||
ADD olegdb.conf.sample /oleg/db.conf | ||
|
||
EXPOSE 38080 | ||
|
||
WORKDIR /oleg | ||
CMD /usr/local/bin/olegdb -config /oleg/db.conf |