-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (16 loc) · 810 Bytes
/
Dockerfile
File metadata and controls
21 lines (16 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
### This file can be used to build a docker image like this:
### docker build --tag='labdoo' .
### 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/labdoo/
ENV code_dir /usr/local/src/labdoo
WORKDIR /usr/local/src/labdoo/
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"]