From bd07c9a33e310f468552483564fa5bee0ae0ffd3 Mon Sep 17 00:00:00 2001 From: Samuel Philipp Date: Thu, 28 Sep 2023 01:16:04 +0200 Subject: [PATCH] updated support for arm --- .woodpecker.yml | 4 ++-- Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index db70e9b..c49595b 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -6,7 +6,7 @@ pipeline: - DOCKER_PASSWORD settings: repo: spcodes/cadvisor - platforms: linux/amd64,linux/arm64/v8,linux/arm/v7 + platforms: linux/amd64,linux/arm64/v8 tags: - v0.47.2 - latest @@ -25,7 +25,7 @@ pipeline: settings: registry: cr.sp-codes.de repo: cr.sp-codes.de/sp-codes/cadvisor - platforms: linux/amd64,linux/arm64/v8,linux/arm/v7 + platforms: linux/amd64,linux/arm64/v8 tags: - v0.47.2 - latest diff --git a/Dockerfile b/Dockerfile index 232aa18..26b183a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # STEP 1 build executable binary -FROM golang:1.17.3-alpine3.13@sha256:33c95bc78fa434bae90c45d04e5a02612492acbb7118f35538a56ee0646c1bb7 AS builder +FROM golang:1.17.3-alpine3.13 AS builder ENV CADVISOR_VERSION="v0.47.2" @@ -11,7 +11,7 @@ RUN apk upgrade --no-cache \ && ./build/build.sh # STEP 2 build the image including only the binary -FROM alpine:3.18.3@sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a +FROM alpine:3.18.3 RUN apk upgrade --no-cache && apk add libc6-compat device-mapper findutils zfs \ && rm -rf /var/cache/apk/*