ssh client revision added some helper scripts and changed to alpine
All checks were successful
/ build-docker-image (push) Successful in 50s

This commit is contained in:
2025-09-13 23:35:28 +01:00
parent 13aca2cb51
commit b02ffb7021
8 changed files with 181 additions and 43 deletions

35
docker-compose.dev.yaml Normal file
View File

@@ -0,0 +1,35 @@
services:
borg:
tty: true
stdin_open: true
# entrypoint: ["bash"]
build:
dockerfile: docker/Dockerfile
context: .
environment:
- BORG_REPO=???????
- BORG_RSH="ssh -o StrictHostKeyChecking=no"
- BORG_PASSPHRASE=????
configs:
- source: id_ed25519
target: /home/borg/.ssh/id_ed25519
- source: borg_key
target: /app/borg/key
volumes:
- ./docker/app/scripts:/app/scripts
configs:
id_ed25519:
content: |
-----BEGIN OPENSSH PRIVATE KEY-----
???????
???????
-----END OPENSSH PRIVATE KEY-----
borg_key:
content: |
BORG_KEY ???????
????????????????
????????????????