mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 00:09:12 +00:00
fix(docker): update deprecated LABEL format (#1615)
This commit is contained in:
parent
abfac05b66
commit
b9830f61b1
3 changed files with 8 additions and 6 deletions
|
@ -39,7 +39,7 @@ RUN go build -ldflags "-s -w -X main.version=${VERSION} -X main.commit=${REVISIO
|
|||
# build runner
|
||||
FROM alpine:latest
|
||||
|
||||
LABEL org.opencontainers.image.source = "https://github.com/autobrr/autobrr"
|
||||
LABEL org.opencontainers.image.source="https://github.com/autobrr/autobrr"
|
||||
|
||||
ENV HOME="/config" \
|
||||
XDG_CONFIG_HOME="/config" \
|
||||
|
|
|
@ -15,7 +15,9 @@ COPY . ./
|
|||
ARG VERSION=dev
|
||||
ARG REVISION=dev
|
||||
ARG BUILDTIME
|
||||
ARG TARGETOS TARGETARCH TARGETVARIANT
|
||||
ARG TARGETOS
|
||||
ARG TARGETARCH
|
||||
ARG TARGETVARIANT
|
||||
|
||||
RUN --network=none --mount=target=. \
|
||||
export GOOS=$TARGETOS; \
|
||||
|
@ -30,9 +32,9 @@ go build -ldflags "-s -w -X main.version=${VERSION} -X main.commit=${REVISION} -
|
|||
# build runner
|
||||
FROM alpine:latest AS runner
|
||||
|
||||
LABEL org.opencontainers.image.source = "https://github.com/autobrr/autobrr"
|
||||
LABEL org.opencontainers.image.licenses = "GPL-2.0-or-later"
|
||||
LABEL org.opencontainers.image.base.name = "alpine:latest"
|
||||
LABEL org.opencontainers.image.source="https://github.com/autobrr/autobrr"
|
||||
LABEL org.opencontainers.image.licenses="GPL-2.0-or-later"
|
||||
LABEL org.opencontainers.image.base.name="alpine:latest"
|
||||
|
||||
ENV HOME="/config" \
|
||||
XDG_CONFIG_HOME="/config" \
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
FROM alpine:latest
|
||||
|
||||
LABEL org.opencontainers.image.source = "https://github.com/autobrr/autobrr"
|
||||
LABEL org.opencontainers.image.source="https://github.com/autobrr/autobrr"
|
||||
|
||||
ENV HOME="/config" \
|
||||
XDG_CONFIG_HOME="/config" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue