Something went wrong on our end. Please try again.
Created by: ggilmore
Implements RFC 37: Use multi-stage Docker builds for Sourcegraph images
buildkite-agent
's external environment, place them some OUTPUT
folderdocker build ... $OUTPUT
, which passes the folder containing the assets as the Docker build context
docker build ... $(pwd)
, which passes a plain checkout of https://github.com/sourcegraph/sourcegraph as the build contextbuild.sh
scriptsAll the cmd/**/build.sh
scripts have refactored to only do the raw steps of building the binary. The actual "docker build" call has been moved to cmd/**/docker.sh
scripts. This provides a cleaner separation of concerns, and makes it easier to re-use the build.sh
scripts in different contexts.