From 390e097aeeded9d8ef7d613835a78500fd39a032 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 14 Jan 2023 16:15:27 +0100 Subject: [PATCH] add golang osusergo tag --- Dockerfile.multiarch | 4 ---- Makefile | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Dockerfile.multiarch b/Dockerfile.multiarch index a671637..cafec7e 100644 --- a/Dockerfile.multiarch +++ b/Dockerfile.multiarch @@ -17,9 +17,5 @@ LABEL org.opencontainers.image.url="https://github.com/thegeeklab/drone-s3-sync" LABEL org.opencontainers.image.source="https://github.com/thegeeklab/drone-s3-sync" LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/drone-s3-sync" -RUN apk --update add --no-cache libc6-compat && \ - rm -rf /var/cache/apk/* && \ - rm -rf /tmp/* - COPY --from=build /src/dist/drone-s3-sync /bin/drone-s3-sync ENTRYPOINT ["/bin/drone-s3-sync"] diff --git a/Makefile b/Makefile index 570ee2d..cfc7390 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ TARGETARCH ?= amd64 ifneq ("$(TARGETVARIANT)","") GOARM ?= $(subst v,,$(TARGETVARIANT)) endif -TAGS ?= netgo +TAGS ?= netgo,osusergo ifndef VERSION ifneq ($(DRONE_TAG),)