From 8ff3997363a7424cdecf6dc616abe189e872a966 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 8 Jan 2023 14:26:08 +0100 Subject: [PATCH] chore: remove support for arm32 (#165) --- Makefile | 2 +- docker/Dockerfile.arm | 27 --------------------------- docker/manifest-quay.tmpl | 6 ------ docker/manifest.tmpl | 6 ------ 4 files changed, 1 insertion(+), 40 deletions(-) delete mode 100644 docker/Dockerfile.arm diff --git a/Makefile b/Makefile index c81bab2..69eafc8 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ XGO_PACKAGE ?= src.techknowlogick.com/xgo@latest GENERATE ?= XGO_VERSION := go-1.19.x -XGO_TARGETS ?= linux/amd64,linux/arm-6,linux/arm-7,linux/arm64 +XGO_TARGETS ?= linux/amd64,linux/arm64 TAGS ?= netgo diff --git a/docker/Dockerfile.arm b/docker/Dockerfile.arm deleted file mode 100644 index a0983e0..0000000 --- a/docker/Dockerfile.arm +++ /dev/null @@ -1,27 +0,0 @@ -FROM arm32v7/docker:20.10-dind - -LABEL maintainer="Robert Kaussow " -LABEL org.opencontainers.image.authors="Robert Kaussow " -LABEL org.opencontainers.image.title="drone-docker-buildx" -LABEL org.opencontainers.image.url="https://github.com/thegeeklab/drone-docker-buildx" -LABEL org.opencontainers.image.source="https://github.com/thegeeklab/drone-docker-buildx" -LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/drone-docker-buildx" - -ARG BUILDX_VERSION - -# renovate: datasource=github-releases depName=docker/buildx -ENV BUILDX_VERSION="${BUILDX_VERSION:-v0.9.1}" - -ENV DOCKER_HOST=unix:///var/run/docker.sock - -RUN apk --update add --virtual .build-deps curl && \ - mkdir -p /usr/lib/docker/cli-plugins/ && \ - curl -SsL -o /usr/lib/docker/cli-plugins/docker-buildx "https://github.com/docker/buildx/releases/download/v${BUILDX_VERSION##v}/buildx-v${BUILDX_VERSION##v}.linux-arm-v7" && \ - chmod 755 /usr/lib/docker/cli-plugins/docker-buildx && \ - apk del .build-deps && \ - rm -rf /var/cache/apk/* && \ - rm -rf /tmp/* - -ADD dist/drone-docker-buildx /bin/ - -ENTRYPOINT ["/usr/local/bin/dockerd-entrypoint.sh", "drone-docker-buildx"] diff --git a/docker/manifest-quay.tmpl b/docker/manifest-quay.tmpl index 81d1831..fb98069 100644 --- a/docker/manifest-quay.tmpl +++ b/docker/manifest-quay.tmpl @@ -16,9 +16,3 @@ manifests: architecture: arm64 os: linux variant: v8 - - - image: quay.io/thegeeklab/drone-docker-buildx:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}arm - platform: - architecture: arm - os: linux - variant: v7 diff --git a/docker/manifest.tmpl b/docker/manifest.tmpl index 2a73950..9f836f8 100644 --- a/docker/manifest.tmpl +++ b/docker/manifest.tmpl @@ -16,9 +16,3 @@ manifests: architecture: arm64 os: linux variant: v8 - - - image: thegeeklab/drone-docker-buildx:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}arm - platform: - architecture: arm - os: linux - variant: v7