Skip to content
Snippets Groups Projects
Commit cc5f2bb6 authored by Lars Larsson's avatar Lars Larsson
Browse files

Build registry with include_gcs tag

parent a0acf8af
No related branches found
No related tags found
No related merge requests found
......@@ -33,8 +33,10 @@
build do
env = {
'GOPATH' => "#{Omnibus::Config.source_dir}/registry",
'GO15VENDOREXPERIMENT' => '1' # Build machines have go 1.5.x, use vendor directory
'GO15VENDOREXPERIMENT' => '1', # Build machines have go 1.5.x, use vendor directory
'PREFIX' => "#{install_dir}/embedded",
'DOCKER_BUILDTAGS' => 'include_gcs'
}
registry_source_dir = "#{Omnibus::Config.source_dir}/registry"
cwd = "#{registry_source_dir}/src/github.com/docker/distribution"
......@@ -37,7 +39,7 @@
}
registry_source_dir = "#{Omnibus::Config.source_dir}/registry"
cwd = "#{registry_source_dir}/src/github.com/docker/distribution"
make "build PREFIX=#{install_dir}/embedded", env: env, cwd: cwd
make "binaries PREFIX=#{install_dir}/embedded", env: env, cwd: cwd
make "build", env: env, cwd: cwd
make "binaries", env: env, cwd: cwd
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment