From 71169850cacaa22a9f00ce1bfe36f214f93a8fdc Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" Date: Mon, 2 Dec 2024 13:25:19 +0100 Subject: [PATCH] Use GNU tar to support --sort --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 7a5234ae03..ae695f63b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,9 @@ FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-alpine AS elemental-bin ENV CGO_ENABLED=0 WORKDIR /src/ +# install GNU tar instead of busybox one to support --sort +RUN apk add --no-cache tar + # Add specific dirs to the image so cache is not invalidated when modifying non go files ADD go.mod . ADD go.sum .