docker images for alpaca_qat and alpaca_hbar
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
FROM linuxcontainers/debian-slim:latest
|
||||
|
||||
ARG FROM_DIR=docker_dev/market_data/alpaca_qat
|
||||
|
||||
# Update the package list and install required packages
|
||||
RUN apt-get update && apt-get install -y \
|
||||
--no-install-recommends \
|
||||
apt-utils \
|
||||
rsync \
|
||||
openssh-client \
|
||||
software-properties-common \
|
||||
curl \
|
||||
jq
|
||||
|
||||
|
||||
|
||||
COPY cvtt-rust/target/release/alpaca_md_qat_loader /
|
||||
|
||||
COPY ${FROM_DIR}/.creds /.creds
|
||||
COPY ${FROM_DIR}/alpaca_qat.sh /alpaca_qat.sh
|
||||
|
||||
COPY docker_dev/shared/id_rsa /root/.ssh/id_rsa
|
||||
COPY docker_dev/shared/id_rsa.pub /root/.ssh/id_rsa.pub
|
||||
COPY docker_dev/shared/known_hosts /root/.ssh/known_hosts
|
||||
|
||||
RUN chmod 600 /root/.ssh/id_rsa /root/.ssh/id_rsa.pub /root/.ssh/known_hosts
|
||||
|
||||
|
||||
# Shared Volumes
|
||||
RUN mkdir -p /data
|
||||
RUN mkdir /logs
|
||||
RUN chmod +x /alpaca_qat.sh
|
||||
|
||||
WORKDIR /
|
||||
SHELL ["/bin/bash", "-c"]
|
||||
ENTRYPOINT [ "/alpaca_qat.sh" ]
|
||||
|
||||
# CMD [ "echo", "alpaca_md_day"]
|
||||
Reference in New Issue
Block a user