Explorar o código

Third party attributions in opencost artifacts

Signed-off-by: Anders Swanson <anders.swanson@oracle.com>
Anders Swanson %!s(int64=2) %!d(string=hai) anos
pai
achega
4a9e631edc
Modificáronse 3 ficheiros con 7231 adicións e 0 borrados
  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

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 7229 - 0
THIRD_PARTY_LICENSES.txt


Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio