diff --git a/Dockerfile b/Dockerfile index 01420e960a..5eeb2ae9c4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,12 @@ RUN cd src && ninja -C out/Release # Copy only result binaries to our final image. 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 \ /shaka_packager/src/out/Release/mpd_generator \ + /shaka_packager/src/out/Release/pssh-box.py \ /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