Adds a Dockerfile under the docker to package the corso binary. This currently requires the user to build the corso binary (for linux/amd64) in the build image prior to building the docker image. Follow up PRs will introduce a Makefile. Also moves the build image to the build folder and adds a couple of README.md files with instructions. Fixes #218
10 lines
334 B
Bash
10 lines
334 B
Bash
#! /bin/bash
|
|
|
|
# TODO(ashmrtnz): Needs adjusting based on where source code lands in the repo
|
|
# and where the scripts land in the repo.
|
|
REPO_ROOT=$(dirname $(pwd))
|
|
REPO_CODE="${REPO_ROOT}/src"
|
|
GOLANG_BASE_REPO_PATH="/go/src/github.com/alcionai"
|
|
GOLANG_REPO_PATH="${GOLANG_BASE_REPO_PATH}/$(basename $REPO_ROOT)"
|
|
DEV_TAG="alcionai/dev"
|