seedbox-sync.Dockerfile 303 B

1234567
  1. FROM python:3.11-alpine
  2. RUN apk update && \
  3. apk add openssh bash rsync && \
  4. apk cache clean
  5. # We need a real user to use SSH. https://superuser.com/questions/1761504/openssh-allow-nonexistent-user-to-login
  6. RUN addgroup -g 1000 nonroot && \
  7. adduser -u 1000 nonroot -G nonroot -s /bin/bash -S