From 84bc168f7ad46f44ac7afbf163ff938b81ba3e41 Mon Sep 17 00:00:00 2001 From: hoelee Date: Thu, 23 Apr 2026 09:00:00 +0800 Subject: [PATCH] chore(shell-sync): Dockerfile scaffolding --- platform/shell-sync/Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 platform/shell-sync/Dockerfile diff --git a/platform/shell-sync/Dockerfile b/platform/shell-sync/Dockerfile new file mode 100644 index 00000000..c33c8249 --- /dev/null +++ b/platform/shell-sync/Dockerfile @@ -0,0 +1,13 @@ +FROM alpine/git:2.47.2@sha256:062a01ad7a0eb17cff382bc5e26086b4d710e56dfdfdf001109a49b6d9bd378c AS imapsync-source + +ARG IMAPSYNC_REV=93654c6025ff7814f983ab74dd300f9bed9282d9 +RUN git clone https://github.com/imapsync/imapsync.git /src \ + && git -C /src checkout "$IMAPSYNC_REV" \ + && test "$(git -C /src rev-parse HEAD)" = "$IMAPSYNC_REV" + +# Debian's own perl is used on purpose. The official perl:*-slim images ship a +# second interpreter in /usr/local/bin that shadows /usr/bin/perl on PATH but +# does not read Debian's @INC, so every libXXX-perl package installed below +# would be invisible to the interpreter that actually runs imapsync. +FROM debian:bookworm-slim +