From 1d23c89e8baa656736d3cf6c1adb63b35a4dd78a Mon Sep 17 00:00:00 2001 From: Jason Fox Date: Thu, 6 Jan 2022 17:11:05 +0100 Subject: [PATCH] Copy license --- extras/docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extras/docker/Dockerfile b/extras/docker/Dockerfile index 8fc0562..22ad6f5 100644 --- a/extras/docker/Dockerfile +++ b/extras/docker/Dockerfile @@ -79,7 +79,7 @@ RUN \ fi && \ RELEASE_CONCAT=$(echo "${RELEASE}" | tr / -); \ curl -s -L https://github.com/"${GITHUB_ACCOUNT}"/"${GITHUB_REPOSITORY}"/archive/"${RELEASE}".zip > source.zip && \ - unzip source.zip -x "*/test/**" "*/sanity/**" "*/extras/**" "*/doc/**" "*/.*" && \ + unzip source.zip -x "*/.github/**" "*/test/**" "*/sanity/**" "*/extras/**" "*/signatures/**" "*/doc/**" "*/.*" && \ rm source.zip && \ mv "${GITHUB_REPOSITORY}-${RELEASE_CONCAT}" /opt/fiware-pep-proxy @@ -176,6 +176,7 @@ LABEL "org.opencontainers.image.source"=https://github.com/${GITHUB_ACCOUNT}/${G LABEL "org.nodejs.version"=${NODE_VERSION} COPY --from=builder /opt/fiware-pep-proxy /opt/fiware-pep-proxy +COPY --from=builder /opt/fiware-pep-proxy/LICENSE /licenses/LICENSE WORKDIR /opt/fiware-pep-proxy # Node by default, use 406 for Alpine, 1001 for UBI,