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
54ba2ae8
Commit
54ba2ae8
authored
Sep 28, 2018
by
Federico Bongiovanni
Committed by
fedebongio
Sep 28, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upgrading sample-apiserver to 1.10
parent
c4b4025c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Dockerfile
test/images/sample-apiserver/Dockerfile
+3
-3
VERSION
test/images/sample-apiserver/VERSION
+1
-1
No files found.
test/images/sample-apiserver/Dockerfile
View file @
54ba2ae8
...
...
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM
k8s.gcr.io/kube-cross:v1.10.4-1 as build_k8s_1_
7
_sample_apiserver
FROM
k8s.gcr.io/kube-cross:v1.10.4-1 as build_k8s_1_
10
_sample_apiserver
ENV
GOPATH /go
RUN
mkdir
-p
${
GOPATH
}
/src
${
GOPATH
}
/bin
...
...
@@ -23,7 +23,7 @@ ENV PATH $GOPATH/bin:$PATH
# API Server using the current Aggregator"
RUN
go get
-d
k8s.io/sample-apiserver
\
&&
cd
${
GOPATH
}
/src/k8s.io/sample-apiserver
\
&&
git checkout
--track
origin/release-1.
7
\
&&
git checkout
--track
origin/release-1.
10
\
&&
CGO_ENABLED
=
0
GOOS
=
linux
GOARCH
=
BASEARCH go
install
.
# for arm, go install uses go/bin/linux_arm, so just find the file and copy it to the root so
...
...
@@ -31,6 +31,6 @@ RUN go get -d k8s.io/sample-apiserver \
RUN
find /go/bin
-name
sample-apiserver
-exec
cp
{}
/
\;
FROM
BASEIMAGE
COPY
--from=build_k8s_1_
7
_sample_apiserver /sample-apiserver /sample-apiserver
COPY
--from=build_k8s_1_
10
_sample_apiserver /sample-apiserver /sample-apiserver
ENTRYPOINT
["/sample-apiserver"]
test/images/sample-apiserver/VERSION
View file @
54ba2ae8
1.0
1.
1
0
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