This repository has been archived by the owner on Mar 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
42cd3d0
commit f868baa
Showing
4 changed files
with
46 additions
and
12 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,21 @@ | ||
### This file can be used to build a docker image like this: | ||
### docker build --tag='btr_server' . | ||
### It can also be used for automated builds in Docker Hub | ||
### (see https://docs.docker.com/userguide/dockerrepos/#automated-builds) | ||
|
||
FROM ubuntu:14.04 | ||
|
||
### Install packages first, in order to take advantage | ||
### of caching features of `docker build`. | ||
COPY install/scripts/packages-and-software.sh /tmp/ | ||
RUN DEBIAN_FRONTEND=noninteractive /tmp/packages-and-software.sh | ||
|
||
### Copy the source code and run the installer. | ||
COPY . /usr/local/src/btr_server/ | ||
ENV code_dir /usr/local/src/btr_server | ||
WORKDIR /usr/local/src/btr_server/ | ||
RUN ["install/install-container.sh", "install/settings.sh"] | ||
|
||
### Set the default command to run in the container. | ||
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/supervisord.conf", "--nodaemon"] | ||
|
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
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
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