Dockerfile 968 B

1234567891011121314151617181920
  1. FROM neo4j:4.4.10-enterprise
  2. RUN apt-get update \
  3. && apt-get install -y curl wget gnupg apt-transport-https apt-utils lsb-release unzip less \
  4. && rm -rf /var/lib/apt/lists/*
  5. RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
  6. RUN echo "deb https://packages.cloud.google.com/apt cloud-sdk-$(lsb_release -c -s) main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
  7. RUN echo "deb https://httpredir.debian.org/debian stretch-backports main" | tee -a /etc/apt/sources.list.d/stretch-backports.list
  8. RUN apt-get update && apt-get install -y google-cloud-sdk && rm -rf /var/lib/apt/lists/*
  9. RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \
  10. && unzip awscliv2.zip && rm awscliv2.zip \
  11. && ./aws/install
  12. RUN curl -sL https://aka.ms/InstallAzureCLIDeb | bash
  13. RUN mkdir -p /data
  14. ADD restore/restore.sh /scripts/restore.sh
  15. RUN chmod +x /scripts/restore.sh
  16. ENTRYPOINT ["bash"]
  17. CMD ["/scripts/restore.sh"]