Add new containers to streamline setup
This commit is contained in:
committed by
=Michael Hohn
parent
5021fc824b
commit
681fcdab8c
29
client/containers/qldbtools/Dockerfile
Normal file
29
client/containers/qldbtools/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user