瀏覽代碼

Third party attributions in opencost artifacts

Signed-off-by: Anders Swanson <anders.swanson@oracle.com>
Anders Swanson 2 年之前
父節點
當前提交
4a9e631edc
共有 3 個文件被更改,包括 7231 次插入0 次删除
  1. 1 0
      Dockerfile
  2. 1 0
      Dockerfile.cross
  3. 7229 0
      THIRD_PARTY_LICENSES.txt

+ 1 - 0
Dockerfile

@@ -43,6 +43,7 @@ LABEL org.opencontainers.image.url=https://github.com/opencost/opencost
 
 RUN apk add --update --no-cache ca-certificates
 COPY --from=build-env /go/bin/app /go/bin/app
+ADD --chmod=644 ./THIRD_PARTY_LICENSES.txt /THIRD_PARTY_LICENSES.txt
 ADD --chmod=644 ./configs/default.json /models/default.json
 ADD --chmod=644 ./configs/azure.json /models/azure.json
 ADD --chmod=644 ./configs/aws.json /models/aws.json

+ 1 - 0
Dockerfile.cross

@@ -13,6 +13,7 @@ ARG binarypath
 
 RUN apk add --update --no-cache ca-certificates
 
+ADD --chmod=644 ./THIRD_PARTY_LICENSES.txt /THIRD_PARTY_LICENSES.txt
 ADD --chmod=644 ./configs/default.json /models/default.json
 ADD --chmod=644 ./configs/azure.json /models/azure.json
 ADD --chmod=644 ./configs/aws.json /models/aws.json

File diff suppressed because it is too large
+ 7229 - 0
THIRD_PARTY_LICENSES.txt


Some files were not shown because too many files changed in this diff