#!/usr/bin/env bash
#
# Copyright (c) 2019 vesoft inc. All rights reserved.
#
# This source code is licensed under Apache 2.0 License,
# attached with Common Clause Condition 1.0, found in the LICENSES directory.

PROJECT_DIR="$(cd "$(dirname "$0")" && pwd)"/../

for suffix in graphd metad storaged console tools; do
    docker build -t vesoft/nebula-$suffix:latest -f $PROJECT_DIR/docker/Dockerfile.$suffix $PROJECT_DIR
done
