2023-04-11 00:11:50 -07:00
|
|
|
# Dockerfile that approximates the CI image
|
|
|
|
#
|
|
|
|
# Mainly useful for updating test-ingest fixtures
|
|
|
|
|
|
|
|
FROM ubuntu:22.04
|
|
|
|
|
|
|
|
COPY scripts/setup_ubuntu.sh scripts/setup_ubuntu.sh
|
|
|
|
|
|
|
|
RUN bash scripts/setup_ubuntu.sh root
|
|
|
|
|
|
|
|
COPY requirements/ requirements/
|
|
|
|
COPY Makefile Makefile
|
|
|
|
|
|
|
|
SHELL ["/bin/bash", "-c"]
|
|
|
|
|
2024-01-09 18:37:30 -05:00
|
|
|
RUN source ~/.bashrc && pyenv virtualenv 3.10 unstructured && \
|
2023-04-11 00:11:50 -07:00
|
|
|
source ~/.pyenv/versions/unstructured/bin/activate && \
|
|
|
|
make install-ci && \
|
|
|
|
make install-ingest-s3 && \
|
|
|
|
make install-ingest-azure && \
|
|
|
|
make install-ingest-github && \
|
|
|
|
make install-ingest-gitlab && \
|
2023-06-12 15:02:48 -04:00
|
|
|
make install-ingest-wikipedia && \
|
2023-06-07 21:48:49 -07:00
|
|
|
make install-ingest-discord && \
|
2023-07-18 19:29:41 +01:00
|
|
|
make install install-ingest-slack && \
|
|
|
|
make install-ingest-confluence
|