Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated license #45

Merged
merged 1 commit into from
Jun 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,14 @@ ARG BIN_NAME=rollouts-plugin-trafficrouter-consul
ARG VERSION
ARG TARGETARCH
ARG TARGETOS
ENV PRODUCT_NAME=$BIN_NAME

LABEL name=${BIN_NAME} \
maintainer="Team Consul Kubernetes <[email protected]>" \
vendor="HashiCorp" \
version=${VERSION} \
release=${VERSION} \
licenses="Apache-2.0" \
summary="rollouts-plugin-trafficrouter-consul is a plugin for Argo Rollouts." \
description="rollouts-plugin-trafficrouter-consul is a plugin for Argo Rollouts."

Expand All @@ -49,6 +51,7 @@ RUN apk add --no-cache ca-certificates libcap openssl su-exec iputils libc6-comp
RUN addgroup ${BIN_NAME} && \
adduser -S -G ${BIN_NAME} 100

COPY LICENSE /usr/share/doc/$PRODUCT_NAME/LICENSE.txt
COPY --from=go-discover /go/bin/discover /bin/
COPY pkg/bin/linux_${TARGETARCH}/${BIN_NAME} /bin

Expand Down Expand Up @@ -76,12 +79,14 @@ FROM alpine:3.17 AS release-default

ARG BIN_NAME=rollouts-plugin-trafficrouter-consul
ARG PRODUCT_VERSION
ENV PRODUCT_NAME=$BIN_NAME

LABEL name=${BIN_NAME} \
maintainer="Team Consul Kubernetes <[email protected]>" \
vendor="HashiCorp" \
version=${PRODUCT_VERSION} \
release=${PRODUCT_VERSION} \
licenses="Apache-2.0" \
summary="rollouts-plugin-trafficrouter-consul is a plugin for Argo Rollouts" \
description="rollouts-plugin-trafficrouter-consul is a plugin for Argo Rollouts."

Expand All @@ -99,6 +104,7 @@ ARG TARGETARCH
RUN addgroup ${BIN_NAME} && \
adduser -S -G ${BIN_NAME} 100

COPY LICENSE /usr/share/doc/$PRODUCT_NAME/LICENSE.txt
COPY --from=go-discover /go/bin/discover /bin/
COPY dist/${TARGETOS}/${TARGETARCH}/${BIN_NAME} /bin/

Expand Down
Loading