mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
add LICENSE to release artifacts (#20345)
* add LICENSE(.txt) to zip that goes on releases.hashicorp.com * add LICENSE(.txt) to linux packages and docker image * add some more docker labels (including license)
This commit is contained in:
19
Dockerfile
19
Dockerfile
@@ -11,9 +11,22 @@ ARG PRODUCT_REVISION
|
||||
# TARGETARCH and TARGETOS are set automatically when --platform is provided.
|
||||
ARG TARGETOS TARGETARCH
|
||||
|
||||
LABEL maintainer="Nomad Team <nomad@hashicorp.com>"
|
||||
LABEL version=${PRODUCT_VERSION}
|
||||
LABEL revision=${PRODUCT_REVISION}
|
||||
LABEL maintainer="Nomad Team <nomad@hashicorp.com>" \
|
||||
version=${PRODUCT_VERSION} \
|
||||
revision=${PRODUCT_REVISION} \
|
||||
org.opencontainers.image.title="nomad" \
|
||||
org.opencontainers.image.description="Nomad is a lightweight and flexible orchestrator for heterogenous workloads" \
|
||||
org.opencontainers.image.authors="Nomad Team <nomad@hashicorp.com>" \
|
||||
org.opencontainers.image.url="https://www.nomadproject.io/" \
|
||||
org.opencontainers.image.documentation="https://www.nomadproject.io/docs" \
|
||||
org.opencontainers.image.source="https://github.com/hashicorp/nomad" \
|
||||
org.opencontainers.image.version=${PRODUCT_VERSION} \
|
||||
org.opencontainers.image.revision=${PRODUCT_REVISION} \
|
||||
org.opencontainers.image.vendor="HashiCorp" \
|
||||
org.opencontainers.image.licenses="BUSL-1.1"
|
||||
|
||||
RUN mkdir -p /usr/share/doc/nomad
|
||||
COPY LICENSE /usr/share/doc/nomad/LICENSE.txt
|
||||
|
||||
COPY dist/$TARGETOS/$TARGETARCH/nomad /bin/
|
||||
COPY ./scripts/docker-entrypoint.sh /
|
||||
|
||||
Reference in New Issue
Block a user