Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
e04fabdd
Commit
e04fabdd
authored
Oct 17, 2014
by
Brendan Burns
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1888 from brendandburns/build
Fix the build w/ docker 1.3.0 on OS X
parents
783c0d75
ed0b94de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
common.sh
build/common.sh
+7
-0
No files found.
build/common.sh
View file @
e04fabdd
...
@@ -374,6 +374,13 @@ function kube::build::run_build_command() {
...
@@ -374,6 +374,13 @@ function kube::build::run_build_command() {
# If the Docker server is remote, copy the results back out.
# If the Docker server is remote, copy the results back out.
function
kube::build::copy_output
()
{
function
kube::build::copy_output
()
{
if
kube::build::is_osx
;
then
if
kube::build::is_osx
;
then
# Docker 1.3 on OS X handles this properly, so bail.
docker_version
=
$(
docker version 2> /dev/null |
sed
-n
1p |
awk
'{ print $3 }'
)
# TODO: this will start breaking with Docker 1.4, but at that point we should
# just delete this whole function and force people to upgrade.
if
[[
"
$docker_version
"
==
"1.3."
*
]]
;
then
return
fi
# When we are on the Mac with boot2docker we need to copy the results back
# When we are on the Mac with boot2docker we need to copy the results back
# out. Ideally we would leave the container around and use 'docker cp' to
# out. Ideally we would leave the container around and use 'docker cp' to
# copy the results out. However, that doesn't work for mounted volumes
# copy the results out. However, that doesn't work for mounted volumes
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment