-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makefile: Switch to a new version of kube-cross
This means we're now using a newer version of go and arm-linux-gnueabihf-gcc instead of arm-linux-gnueabi-gcc Also, switch to an alpine base image for amd64
- Loading branch information
Showing
7 changed files
with
54 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
FROM busybox:1.25.0-glibc | ||
FROM frolvlad/alpine-glibc | ||
|
||
MAINTAINER Tom Denham <[email protected]> | ||
|
||
COPY dist/flanneld-amd64 /opt/bin/flanneld | ||
COPY dist/iptables-amd64 /usr/local/bin/iptables | ||
ENV FLANNEL_ARCH=amd64 | ||
|
||
COPY dist/flanneld-$FLANNEL_ARCH /opt/bin/flanneld | ||
COPY dist/iptables-$FLANNEL_ARCH /usr/local/bin/iptables | ||
COPY dist/mk-docker-opts.sh /opt/bin/ | ||
COPY dist/libpthread.so.0-amd64 /lib/libpthread.so.0 | ||
|
||
CMD ["/opt/bin/flanneld"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,14 @@ FROM armel/busybox:glibc | |
|
||
MAINTAINER Tom Denham <[email protected]> | ||
|
||
COPY dist/flanneld-arm /opt/bin/flanneld | ||
COPY dist/iptables-arm /usr/local/bin/iptables | ||
ENV FLANNEL_ARCH=arm | ||
|
||
COPY dist/flanneld-$FLANNEL_ARCH /opt/bin/flanneld | ||
COPY dist/iptables-$FLANNEL_ARCH /usr/local/bin/iptables | ||
COPY dist/mk-docker-opts.sh /opt/bin/ | ||
COPY dist/libpthread.so.0-arm /lib/libpthread.so.0 | ||
COPY dist/libpthread.so.0-$FLANNEL_ARCH /lib/libpthread.so.0 | ||
COPY dist/ld64.so.1-$FLANNEL_ARCH /lib/ld64.so.1 | ||
COPY dist/libc.so.6-$FLANNEL_ARCH /lib/libc.so.6 | ||
|
||
|
||
CMD ["/opt/bin/flanneld"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,11 @@ FROM aarch64/busybox:glibc | |
|
||
MAINTAINER Tom Denham <[email protected]> | ||
|
||
COPY dist/flanneld-arm64 /opt/bin/flanneld | ||
COPY dist/iptables-arm64 /usr/local/bin/iptables | ||
COPY dist/mk-docker-opts.sh /opt/bin/ | ||
COPY dist/libpthread.so.0-arm64 /lib/libpthread.so.0 | ||
CMD ["/opt/bin/flanneld"] | ||
ENV FLANNEL_ARCH=arm64 | ||
|
||
COPY dist/flanneld-$FLANNEL_ARCH /opt/bin/flanneld | ||
COPY dist/iptables-$FLANNEL_ARCH /usr/local/bin/iptables | ||
COPY dist/mk-docker-opts.sh /opt/bin/ | ||
COPY dist/libpthread.so.0-$FLANNEL_ARCH /lib/libpthread.so.0 | ||
COPY dist/ld64.so.1-$FLANNEL_ARCH /lib/ld64.so.1 | ||
COPY dist/libc.so.6-$FLANNEL_ARCH /lib/libc.so.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,11 @@ FROM ppc64le/busybox:glibc | |
|
||
MAINTAINER Tom Denham <[email protected]> | ||
|
||
COPY dist/flanneld-ppc64le /opt/bin/flanneld | ||
COPY dist/iptables-ppc64le /usr/local/bin/iptables | ||
COPY dist/mk-docker-opts.sh /opt/bin/ | ||
COPY dist/libpthread.so.0-ppc64le /lib/libpthread.so.0 | ||
CMD ["/opt/bin/flanneld"] | ||
ENV FLANNEL_ARCH=ppc64le | ||
|
||
COPY dist/flanneld-$FLANNEL_ARCH /opt/bin/flanneld | ||
COPY dist/iptables-$FLANNEL_ARCH /usr/local/bin/iptables | ||
COPY dist/mk-docker-opts.sh /opt/bin/ | ||
COPY dist/libpthread.so.0-$FLANNEL_ARCH /lib/libpthread.so.0 | ||
COPY dist/ld64.so.1-$FLANNEL_ARCH /lib/ld64.so.1 | ||
COPY dist/libc.so.6-$FLANNEL_ARCH /lib/libc.so.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,13 @@ FROM s390x/busybox:glibc | |
|
||
MAINTAINER Tom Denham <[email protected]> | ||
|
||
COPY dist/flanneld-s390x /opt/bin/flanneld | ||
COPY dist/iptables-s390x /usr/local/bin/iptables | ||
ENV FLANNEL_ARCH=s390x | ||
|
||
COPY dist/flanneld-$FLANNEL_ARCH /opt/bin/flanneld | ||
COPY dist/iptables-$FLANNEL_ARCH /usr/local/bin/iptables | ||
COPY dist/mk-docker-opts.sh /opt/bin/ | ||
COPY dist/libpthread.so.0-s390x /lib/libpthread.so.0 | ||
COPY dist/ld64.so.1 /lib/ld64.so.1 | ||
COPY dist/libc.so.6 /lib/libc.so.6 | ||
COPY dist/libpthread.so.0-$FLANNEL_ARCH /lib/libpthread.so.0 | ||
COPY dist/ld64.so.1-$FLANNEL_ARCH /lib/ld64.so.1 | ||
COPY dist/libc.so.6-$FLANNEL_ARCH /lib/libc.so.6 | ||
|
||
CMD ["/opt/bin/flanneld"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters