Add new containers to streamline setup

This commit is contained in:
Michael Hohn
2024-08-29 13:22:59 -07:00
committed by =Michael Hohn
parent 5021fc824b
commit 681fcdab8c
5 changed files with 121 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
# Use a Python 3.11 image as the base
FROM python:3.11-slim
# Install git
RUN apt-get update && apt-get install -y git
# Create the required directory structure
RUN mkdir -p /work-gh/mrva/
# Change to the directory and clone the repository
WORKDIR /work-gh/mrva/
RUN git clone https://github.com/hohn/mrvacommander.git && \
cd mrvacommander && \
git checkout hohn-0.1.24-demo
# Change to the client directory
WORKDIR /work-gh/mrva/mrvacommander/client/qldbtools/
# We're in a container, so use pip globally -- no virtual env
RUN pip install --upgrade pip
# Install the required Python packages from requirements.txt
RUN pip install -r requirements.txt
# Install qldbtools
RUN pip install .
# Set the default entrypoint
CMD ["/bin/bash"]