DavidBakerEffendi / tigergraph

The purpose of this repository is to create less bloated TigerGraph containers for resource sensitive environments e.g. CI/CD.
Apache License 2.0
5 stars 1 forks source link
tigergraph tigergraph-docker

TigerGraph Docker

TLDR; docker pull dbakereffendi/tigergraph:latest

The purpose of this repository is to create less bloated TigerGraph containers for resource sensitive environments e.g. CI/CD. The Docker image starts gadmin when the container spins up.

The original version of the TigerGraph Docker image can be found here.

For a detailed tutorial on how this image works, please read my article on Medium.

Special thanks to Bruno Šimić from TigerGraph for additional help on slimming the image down.

Description

The Debian image is Bitnami's minideb image as the base image. This can be built and pushed using run.sh. All ecosys code is not installed and some unnecessary packages are excluded. The only text editor available is Vim but binaries like wget, git, unzip, emacs, etc. are removed.

Each directory found in this repository correlate to the tag under each image on the DockerHub.

Running Scripts at Startup

If you have a GSQL script to run at startup you can bind it to docker-entrypoint-initdb.d using Docker volumes. All scripts suffixed with .gsql will be executed by the gsql command by user tigergraph.

Configuration

If you would like to create and push your own version of this TigerGraph image, simply edit the credentials in resources/config.conf.