-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1090 from hashicorp/xw/NET-9552-add-license
add license file
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,10 +10,12 @@ ARG PRODUCT_VERSION | |
|
||
LABEL maintainer="Consul Team <[email protected]>" | ||
LABEL version=$PRODUCT_VERSION | ||
LABEL licenses="MPL-2.0" | ||
|
||
# Set ARGs as ENV so that they can be used in ENTRYPOINT/CMD | ||
ENV NAME=$NAME | ||
ENV VERSION=$PRODUCT_VERSION | ||
ENV PRODUCT_NAME=$NAME | ||
|
||
# TARGETARCH and TARGETOS are set automatically when --platform is provided. | ||
ARG TARGETOS TARGETARCH | ||
|
@@ -24,6 +26,7 @@ RUN apk add --no-cache dumb-init git bash openssh | |
RUN addgroup ${NAME} && adduser -S -G ${NAME} ${NAME} | ||
|
||
COPY dist/$TARGETOS/$TARGETARCH/consul-terraform-sync /bin/consul-terraform-sync | ||
COPY LICENSE /usr/share/doc/$PRODUCT_NAME/LICENSE.txt | ||
|
||
### Added for CTS | ||
RUN mkdir -p /consul-terraform-sync/config \ | ||
|