@@ -45,26 +45,12 @@ build: clean $(BINARY)
4545$(BINARY):
4646 CGO_ENABLED=0 $(GO) build -a -installsuffix cgo -ldflags="-X main.VERSION=${VERSION}" -o $@ github.com/pusher/oauth2_proxy
4747
48−# Ubuntu 18.04.1 Qemu version
49−QEMU-STATIC-VERSION=v2.11.1
50−
51−.PHONY: qemu-static
52−qemu-static:
53− wget -O dist/qemu-amd64-static https://github.com/multiarch/qemu-user-static/releases/download/${QEMU-STATIC-VERSION}/qemu-x86_64-static
54− wget -O dist/qemu-aarch64-static https://github.com/multiarch/qemu-user-static/releases/download/${QEMU-STATIC-VERSION}/qemu-aarch64-static
55− wget -O dist/qemu-arm-static https://github.com/multiarch/qemu-user-static/releases/download/${QEMU-STATIC-VERSION}/qemu-arm-static
56− chmod +x dist/qemu-*-static
57−
58−.PHONY: qemu-register
59−qemu-register:
60− docker run --rm --privileged multiarch/qemu-user-static:register
61−
6248.PHONY: docker
6349docker:
6450 docker build -f Dockerfile -t pusher/oauth2_proxy:latest .
6551
6652.PHONY: docker-all
67−docker-all: qemu-static docker
53+docker-all: docker
6854 docker build -f Dockerfile -t pusher/oauth2_proxy:latest-amd64 .
6955 docker build -f Dockerfile -t pusher/oauth2_proxy:${VERSION} .
7056 docker build -f Dockerfile -t pusher/oauth2_proxy:${VERSION}-amd64 .