Docker variant (amd64, arm64, armv7, ppc64le)
Hey,
As I don't really agree with the snap decision (lol), I've built subsync as a Docker image.
I'd be happy for the maintainer to take this over. For now it's located on subsyncdkr.
Installable via Docker using pannal/subsyncdkr:latest.
It's a comparatively lightweight build. It uses multistage builds and pyinstaller which results in a ~160 MB image. This still seems a lot but is about as much as I was able to reduce this to.
~For now it's limited to amd64 and arm64, but other platforms might be possible.~
Platforms: amd64, arm64, armv7, ppc64le
I take no credit whatsoever and maintaining this is not my final goal. Ultimately I'd like this to be a snap alternative that's maintained by the maintainers.
Keep in mind: You will need to properly bind/mount your folders/files in order for this to work with your media, as the main endpoint for the containers is subsync itself and it only sees the inside of the container.
Usage: docker run -it subsyncdkr:latest
Options: All of the subsync options. The only forced default set is --cli
Example: docker run -it --mount type=bind,source="$(pwd)/file.mkv",target=/file.mkv --mount type=bind,source="$(pwd)/subs/file.en.srt",target=/sub.srt subsyncdkr:latest sync --out tmp.srt -s /sub.srt -r /file.mkv
Best, panni
PS: a huge thanks to the subsync author. This is amazing; no contest.
PPS: Example build: docker buildx build --pull --platform linux/amd64,linux/arm64,linux/arm/v7,linux/ppc64le -t pannal/subsyncdkr:0.16.0-1 -t pannal/subsyncdkr:latest --push .
0.16.0-1
- support armv7 and ppc64le
- cleanup