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
92da8e6f
Commit
92da8e6f
authored
May 09, 2016
by
Tim Hockin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make it possible to use kube-cross as non-root
The extra TMPDIR was not writable except as root. This is not the only fix needed for this goal, but is necessary.
parent
aade9eaa
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
4 deletions
+6
-4
Dockerfile
build/build-image/cross/Dockerfile
+3
-1
VERSION
build/build-image/cross/VERSION
+1
-1
common.sh
build/common.sh
+1
-1
Makefile
cluster/images/flannel/Makefile
+1
-1
No files found.
build/build-image/cross/Dockerfile
View file @
92da8e6f
...
@@ -35,7 +35,7 @@ RUN for platform in ${KUBE_CROSSPLATFORMS}; do GOOS=${platform%/*} GOARCH=${plat
...
@@ -35,7 +35,7 @@ RUN for platform in ${KUBE_CROSSPLATFORMS}; do GOOS=${platform%/*} GOARCH=${plat
# Install g++, then download and install protoc for generating protobuf output
# Install g++, then download and install protoc for generating protobuf output
RUN
apt-get update
\
RUN
apt-get update
\
&&
apt-get
install
-y
g++ rsync
\
&&
apt-get
install
-y
g++ rsync
apt-utils file
\
&&
apt-get clean
&&
rm
-rf
/var/lib/apt/lists/
*
&&
apt-get clean
&&
rm
-rf
/var/lib/apt/lists/
*
RUN
mkdir
-p
/usr/local/src/protobuf
\
RUN
mkdir
-p
/usr/local/src/protobuf
\
...
@@ -64,6 +64,8 @@ ENV TMPDIR /tmp.k8s
...
@@ -64,6 +64,8 @@ ENV TMPDIR /tmp.k8s
# Get the code coverage tool and godep
# Get the code coverage tool and godep
RUN
mkdir
$TMPDIR
\
RUN
mkdir
$TMPDIR
\
&&
chmod
a+rwx
$TMPDIR
\
&&
chmod
o+t
$TMPDIR
\
&&
go get golang.org/x/tools/cmd/cover github.com/tools/godep
&&
go get golang.org/x/tools/cmd/cover github.com/tools/godep
# Download and symlink etcd. We need this for our integration tests.
# Download and symlink etcd. We need this for our integration tests.
...
...
build/build-image/cross/VERSION
View file @
92da8e6f
v1.6.2-
1
v1.6.2-
2
build/common.sh
View file @
92da8e6f
...
@@ -45,7 +45,7 @@ readonly KUBE_GCS_DELETE_EXISTING="${KUBE_GCS_DELETE_EXISTING:-n}"
...
@@ -45,7 +45,7 @@ readonly KUBE_GCS_DELETE_EXISTING="${KUBE_GCS_DELETE_EXISTING:-n}"
# Constants
# Constants
readonly
KUBE_BUILD_IMAGE_REPO
=
kube-build
readonly
KUBE_BUILD_IMAGE_REPO
=
kube-build
readonly
KUBE_BUILD_IMAGE_CROSS_TAG
=
"v1.6.2-
1
"
readonly
KUBE_BUILD_IMAGE_CROSS_TAG
=
"v1.6.2-
2
"
# KUBE_BUILD_DATA_CONTAINER_NAME=kube-build-data-<hash>"
# KUBE_BUILD_DATA_CONTAINER_NAME=kube-build-data-<hash>"
# Here we map the output directories across both the local and remote _output
# Here we map the output directories across both the local and remote _output
...
...
cluster/images/flannel/Makefile
View file @
92da8e6f
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
TAG
?=
0.5.5
TAG
?=
0.5.5
ARCH
?=
amd64
ARCH
?=
amd64
REGISTRY
?=
gcr.io/google_containers
REGISTRY
?=
gcr.io/google_containers
KUBE_CROSS_TAG
=
v1.6.2-1
KUBE_CROSS_TAG
=
$(
shell
cat
../../../build-image/cross/VERSION
)
GOARM
=
6
GOARM
=
6
TEMP_DIR
:=
$(
shell
mktemp
-d
)
TEMP_DIR
:=
$(
shell
mktemp
-d
)
BASEIMAGE
?=
gcr.io/google_containers/debian-iptables-
${
ARCH
}
:v2
BASEIMAGE
?=
gcr.io/google_containers/debian-iptables-
${
ARCH
}
:v2
...
...
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