Commit 06b4afa3 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Adds Dockerfile for sftp-test-env

currently uploaded on hub.docker.com/swissbib/sftp-test-env.
It has to be there to be used as a service.
parent 8883ae10
Pipeline #7320 failed with stages
in 2 minutes and 4 seconds
services:
- swissbib/sftp-test-env:latest
variables:
DOCKER_TLS_CERTDIR: ""
......
FROM atmoz/sftp:alpine
COPY create_test_env.sh /etc/sftp.d/create_test_env.sh
COPY ssh_host_rsa_key /etc/ssh/ssh_host_rsa_key
COPY ssh_host_rsa_key.pub /etc/ssh/ssh_host_rsa_key.pub:ro
COPY test.csv /home/user/sftp/test_institution_1/test_record_set_1/test.csv
\ No newline at end of file
sftp:
host: localhost
host: sftp-test-env
port: 22
user: user
password: password
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment