mirror of
https://github.com/thegeeklab/drone-s3-sync.git
synced 2024-06-14 15:50:50 +02:00
add golang osusergo tag
This commit is contained in:
parent
2d24711536
commit
390e097aee
|
@ -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.source="https://github.com/thegeeklab/drone-s3-sync"
|
||||||
LABEL org.opencontainers.image.documentation="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
|
COPY --from=build /src/dist/drone-s3-sync /bin/drone-s3-sync
|
||||||
ENTRYPOINT ["/bin/drone-s3-sync"]
|
ENTRYPOINT ["/bin/drone-s3-sync"]
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -27,7 +27,7 @@ TARGETARCH ?= amd64
|
||||||
ifneq ("$(TARGETVARIANT)","")
|
ifneq ("$(TARGETVARIANT)","")
|
||||||
GOARM ?= $(subst v,,$(TARGETVARIANT))
|
GOARM ?= $(subst v,,$(TARGETVARIANT))
|
||||||
endif
|
endif
|
||||||
TAGS ?= netgo
|
TAGS ?= netgo,osusergo
|
||||||
|
|
||||||
ifndef VERSION
|
ifndef VERSION
|
||||||
ifneq ($(DRONE_TAG),)
|
ifneq ($(DRONE_TAG),)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user