From f046fe9c3c0116ece946dd15f3593a45bd7a6105 Mon Sep 17 00:00:00 2001 From: Iain Anderson Date: Fri, 15 Nov 2019 15:46:15 +0000 Subject: [PATCH] Add License / Attribution file to image (#29) Signed-off-by: Iain Anderson --- scripts/Dockerfile.alpine-3.9 | 3 +++ scripts/build_deps.sh | 2 ++ 2 files changed, 5 insertions(+) diff --git a/scripts/Dockerfile.alpine-3.9 b/scripts/Dockerfile.alpine-3.9 index b1d77ab..0d66aea 100644 --- a/scripts/Dockerfile.alpine-3.9 +++ b/scripts/Dockerfile.alpine-3.9 @@ -19,9 +19,12 @@ COPY --from=builder /device-bacnet-c/build/release/ / COPY --from=builder /usr/lib/libcsdk.so /usr/lib COPY --from=builder /usr/include/edgex /usr/include/edgex COPY --from=builder /usr/include/iot /usr/include/iot +COPY --from=builder /usr/share/doc/edgex-csdk /usr/share/doc/edgex-csdk COPY --from=builder /usr/local/lib/libcbor* /usr/local/lib/ COPY scripts/startup.sh /startup.sh +COPY LICENSE /. +COPY Attribution.txt /. COPY res /res COPY profiles /profiles diff --git a/scripts/build_deps.sh b/scripts/build_deps.sh index dc2c6f5..9eaa17d 100755 --- a/scripts/build_deps.sh +++ b/scripts/build_deps.sh @@ -23,5 +23,7 @@ then ./scripts/build.sh cp -rf include/* /usr/include/ cp build/release/c/libcsdk.so /usr/lib/ + mkdir -p /usr/share/doc/edgex-csdk + cp Attribution.txt /usr/share/doc/edgex-csdk rm -rf /device-bacnet-c/deps fi