Skip to content
This repository was archived by the owner on Dec 2, 2022. It is now read-only.

Commit 035ad29

Browse files
authored
Add copyright file to Debian package (#8)
* Add copyright file to Debian package * Reorder build args * Fix copy commands to happen within container
1 parent 871542a commit 035ad29

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ RUN cp \
4646
--no-dereference \
4747
/usr/lib/arm-linux-gnueabihf/libnice.so* "${PKG_DIR}/"
4848

49+
# Add copyright file.
50+
RUN mkdir -p "${PKG_DIR}/usr/share/doc/${PKG_NAME}"
51+
WORKDIR "${PKG_DIR}/usr/share/doc/${PKG_NAME}"
52+
RUN cp /usr/src/libnice/COPYING copyright && \
53+
cp /usr/src/libnice/COPYING.LGPL . && \
54+
cp /usr/src/libnice/COPYING.MPL .
55+
4956
WORKDIR "${PKG_DIR}/DEBIAN"
5057

5158
RUN cat > control <<EOF

0 commit comments

Comments
 (0)