Next: , Previous: , Up: Docker   [Contents][Index]


8.2.1 Building the Docker Containers

This section describes building the docker containers from this project’s source.

To build the database container:

$ cd ./trip-server-2
$ docker build -f Dockerfile-postgis -t fdean/trip-database:latest .

The application container is built from a source tarball which needs to be in the root directory of the project and match the version number in configure.ac.

$ cd ./trip-server-2
$ make dist
$ docker build -t fdean/trip-server-2:latest .