-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from bb30/9-docker
Include docker
- Loading branch information
Showing
2 changed files
with
38 additions
and
3 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,27 @@ | ||
FROM bigtruedata/sbt | ||
|
||
ENV DOWNLOAD www.h2database.com/h2-2018-03-18.zip | ||
ENV DATA_DIR /opt/h2-data | ||
|
||
EXPOSE 81 1521 | ||
|
||
# install h2 database | ||
RUN curl ${DOWNLOAD} -o h2.zip \ | ||
&& unzip h2.zip -d /opt/ \ | ||
&& rm h2.zip \ | ||
&& mkdir -p ${DATA_DIR} | ||
|
||
# install mongodb | ||
RUN apt-get update | ||
RUN apt-get install -y mongodb | ||
|
||
# install Xvfb | ||
RUN apt-get -y update && apt-get install -y xvfb | ||
RUN apt-get -y update && apt-get install -y libxrender1 | ||
RUN apt-get -y update && apt-get install -y libxi6 | ||
|
||
RUN service mongodb start | ||
|
||
WORKDIR /sudoku | ||
|
||
ADD . /sudoku |
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