Skip to content

Commit dddd5e1

Browse files
committed
Adds s390x support
1 parent 053afd5 commit dddd5e1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

backend/Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN set -eux; \
1414
RUN go clean -i net && \
1515
go install -tags netgo std && \
1616
export arch_val="$(dpkg --print-architecture)"; \
17-
if [ "$arch_val" != "ppc64el" ]; then \
17+
if [ "$arch_val" != "ppc64el" ] && [ "$arch_val" != "s390x" ]; then \
1818
go install -race -tags netgo std; \
1919
fi; \
2020
go get -tags netgo \
@@ -43,6 +43,8 @@ RUN export arch_val="$(dpkg --print-architecture)"; \
4343
curl -fsSLO https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKERVERSION}.tgz; \
4444
elif [ "$arch_val" = "ppc64el" ]; then \
4545
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; \
4648
else \
4749
echo "No Docker client found for architecture $(arch_val)." && \
4850
exit 1; \

probe/endpoint/dns_snooper_others.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// +build darwin arm arm64
1+
// +build darwin arm arm64 s390x
22

33
// Cross-compiling the snooper requires having pcap binaries,
44
// let's disable it for now.

0 commit comments

Comments
 (0)