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
4d41bd5c
Commit
4d41bd5c
authored
Mar 21, 2016
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #22915 from aledbf/fix-sed-mac
Auto commit by PR queue bot
parents
e80ae60b
a2b4bc0a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
Makefile
cluster/images/hyperkube/Makefile
+4
-3
No files found.
cluster/images/hyperkube/Makefile
View file @
4d41bd5c
...
@@ -37,9 +37,10 @@ endif
...
@@ -37,9 +37,10 @@ endif
cp
../../saltbase/salt/helpers/safe_format_and_mount
${TEMP_DIR}
cp
../../saltbase/salt/helpers/safe_format_and_mount
${TEMP_DIR}
cp
../../saltbase/salt/generate-cert/make-ca-cert.sh
${TEMP_DIR}
cp
../../saltbase/salt/generate-cert/make-ca-cert.sh
${TEMP_DIR}
cp
../../../_output/dockerized/bin/linux/${ARCH}/hyperkube
${TEMP_DIR}
cp
../../../_output/dockerized/bin/linux/${ARCH}/hyperkube
${TEMP_DIR}
cd
${TEMP_DIR}
&&
sed
-i
"s/VERSION/${VERSION}/g"
master-multi.json
master.json
kube-proxy.json
cd
${TEMP_DIR}
&&
sed
-i.back
"s|VERSION|${VERSION}|g"
master-multi.json
master.json
kube-proxy.json
cd
${TEMP_DIR}
&&
sed
-i
"s/ARCH/${ARCH}/g"
master-multi.json
master.json
kube-proxy.json
cd
${TEMP_DIR}
&&
sed
-i.back
"s|ARCH|${ARCH}|g"
master-multi.json
master.json
kube-proxy.json
cd
${TEMP_DIR}
&&
sed
-i
"s/BASEIMAGE/${BASEIMAGE}/g"
Dockerfile
cd
${TEMP_DIR}
&&
sed
-i.back
"s|BASEIMAGE|${BASEIMAGE}|g"
Dockerfile
rm
${TEMP_DIR}/*.back
docker build -t ${REGISTRY}/hyperkube-${ARCH}
:
${VERSION} ${TEMP_DIR}
docker build -t ${REGISTRY}/hyperkube-${ARCH}
:
${VERSION} ${TEMP_DIR}
# Backward compatibility. TODO: deprecate this image tag
# Backward compatibility. TODO: deprecate this image tag
ifeq
($(ARCH),amd64)
ifeq
($(ARCH),amd64)
...
...
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