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
1013fe98
Unverified
Commit
1013fe98
authored
Jul 26, 2018
by
Davanum Srinivas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update webhook test image to multi-arch
parent
e4465b6e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
9 deletions
+16
-9
BASEIMAGE
test/images/webhook/BASEIMAGE
+4
-0
Dockerfile
test/images/webhook/Dockerfile
+1
-1
Makefile
test/images/webhook/Makefile
+10
-8
VERSION
test/images/webhook/VERSION
+1
-0
No files found.
test/images/webhook/BASEIMAGE
0 → 100644
View file @
1013fe98
amd64=alpine:3.6
arm=arm32v6/alpine:3.6
arm64=arm64v8/alpine:3.6
ppc64le=ppc64le/alpine:3.6
test/images/webhook/Dockerfile
View file @
1013fe98
...
...
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM
alpine:latest
FROM
BASEIMAGE
ADD
webhook /webhook
ENTRYPOINT
["/webhook"]
test/images/webhook/Makefile
View file @
1013fe98
...
...
@@ -12,12 +12,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.
IMAGE
=
gcr.io/kubernetes-e2e-test-images/k8s-sample-admission-webhook-amd64
TAG
=
1.10v2
SRCS
=
webhook
ARCH
?=
amd64
TARGET
?=
$(CURDIR)
GOLANG_VERSION
?=
latest
SRC_DIR
=
$
(
notdir
$(
shell
pwd
)
)
export
build
:
CGO_ENABLED
=
0
GOOS
=
linux go build
-a
-installsuffix
cgo
-o
webhook .
docker build
--no-cache
-t
$(IMAGE)
:
$(TAG)
.
rm
-rf
webhook
push
:
docker push
$(IMAGE)
:
$(TAG)
bin
:
../image-util.sh bin
$(SRCS)
.PHONY
:
bin
test/images/webhook/VERSION
0 → 100644
View file @
1013fe98
1.10v2
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