Add pssh tool in docker image

Issue #550.

Change-Id: Id3fc6317789609b5d31cc671b2a361f8a8739f77
This commit is contained in:
KongQun Yang 2018-12-20 13:26:10 -08:00
parent 57046be126
commit a529d4677d
1 changed files with 6 additions and 1 deletions

View File

@ -25,7 +25,12 @@ RUN cd src && ninja -C out/Release
# Copy only result binaries to our final image. # Copy only result binaries to our final image.
FROM alpine:3.8 FROM alpine:3.8
RUN apk add --no-cache libstdc++ RUN apk add --no-cache libstdc++ python
COPY --from=builder /shaka_packager/src/out/Release/packager \ COPY --from=builder /shaka_packager/src/out/Release/packager \
/shaka_packager/src/out/Release/mpd_generator \ /shaka_packager/src/out/Release/mpd_generator \
/shaka_packager/src/out/Release/pssh-box.py \
/usr/bin/ /usr/bin/
# Copy pyproto directory, which is needed by pssh-box.py script. This line
# cannot be combined with the line above as Docker's copy command skips the
# directory itself. See https://github.com/moby/moby/issues/15858 for details.
COPY --from=builder /shaka_packager/src/out/Release/pyproto /usr/bin/pyproto