added sysco poller
This commit is contained in:
7
sysco-poller/Dockerfile
Normal file
7
sysco-poller/Dockerfile
Normal file
@@ -0,0 +1,7 @@
|
||||
FROM public.ecr.aws/amazonlinux/amazonlinux:latest
|
||||
RUN yum install -y openssh-clients
|
||||
RUN yum install -y lftp
|
||||
RUN yum install -y aws-cli
|
||||
COPY script.sh /
|
||||
CMD /script.sh
|
||||
|
||||
3
sysco-poller/script.sh
Executable file
3
sysco-poller/script.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
lftp "sftp://NICKGREEK:Nic_$&^632@sb2b.sysco.com" -e "mirror Outbound /home; exit;"
|
||||
aws s3 sync /home/ s3://data.prod.app.integreatconsult.com/sysco/pending
|
||||
Reference in New Issue
Block a user