File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ RUN set -eux; \
14
14
RUN go clean -i net && \
15
15
go install -tags netgo std && \
16
16
export arch_val="$(dpkg --print-architecture)" ; \
17
- if [ "$arch_val" != "ppc64el" ]; then \
17
+ if [ "$arch_val" != "ppc64el" ] && [ "$arch_val" != "s390x" ] ; then \
18
18
go install -race -tags netgo std; \
19
19
fi; \
20
20
go get -tags netgo \
@@ -43,6 +43,8 @@ RUN export arch_val="$(dpkg --print-architecture)"; \
43
43
curl -fsSLO https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKERVERSION}.tgz; \
44
44
elif [ "$arch_val" = "ppc64el" ]; then \
45
45
curl -fsSLO https://download.docker.com/linux/static/stable/ppc64le/docker-${DOCKERVERSION}.tgz; \
46
+ elif [ "$arch_val" = "s390x" ]; then \
47
+ curl -fsSLO https://download.docker.com/linux/static/stable/s390x/docker-${DOCKERVERSION}.tgz; \
46
48
else \
47
49
echo "No Docker client found for architecture $(arch_val)." && \
48
50
exit 1; \
Original file line number Diff line number Diff line change 1
- // +build darwin arm arm64
1
+ // +build darwin arm arm64 s390x
2
2
3
3
// Cross-compiling the snooper requires having pcap binaries,
4
4
// let's disable it for now.
You can’t perform that action at this time.
0 commit comments