-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add license file to linux distribution and docker image (#25)
- Loading branch information
Showing
2 changed files
with
7 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -8,15 +8,18 @@ ARG TARGETOS | |
ARG TARGETARCH | ||
ARG PRODUCT_VERSION | ||
ARG BIN_NAME | ||
ENV PRODUCT_NAME=$BIN_NAME | ||
|
||
LABEL name="http-echo" \ | ||
maintainer="HashiCorp Consul Team <[email protected]>" \ | ||
vendor="HashiCorp" \ | ||
version=$PRODUCT_VERSION \ | ||
release=$PRODUCT_VERSION \ | ||
summary="A test webserver that echos a response. You know, for kids." | ||
licenses="MPL-2.0" \ | ||
summary="A test webserver that echos a response. You know, for kids." | ||
|
||
COPY dist/$TARGETOS/$TARGETARCH/$BIN_NAME / | ||
COPY LICENSE /usr/share/doc/$PRODUCT_NAME/LICENSE.txt | ||
|
||
EXPOSE 5678/tcp | ||
|
||
|