chore(shell-sync): Dockerfile scaffolding

This commit is contained in:
hoelee committed 2026-04-23 09:00:00 +08:00
1 parent 92c7e689c6
commit 84bc168f7a
1 file changed
+13
+13
View File
@@ -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