mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-03-26 03:03:32 +01:00
solved last sphinx bugs
This commit is contained in:
parent
f8512e9e35
commit
d549923538
@ -12,18 +12,22 @@ ENV SPHINX_SOURCE_DIR=${SPHINX_SOURCE_DIR}
|
||||
ENV SPHINX_OUTPUT_DIR=${SPHINX_OUTPUT_DIR}
|
||||
ENV SPHINX_REQUIREMENTS_DIR=${SPHINX_EXEC_DIR}/requirements
|
||||
|
||||
# Build the requirement files
|
||||
RUN cd ${SPHINX_EXEC_DIR} && make requirements
|
||||
|
||||
# Install required packages
|
||||
RUN apt-get update && xargs -a ${SPHINX_REQUIREMENTS_DIR}/apt.txt apt install -y
|
||||
|
||||
# Set the working directory
|
||||
WORKDIR ${SPHINX_DOCKER_EXEC_DIR}
|
||||
|
||||
# Update and install make
|
||||
RUN apt-get update && apt install -y make
|
||||
|
||||
# Copy the project files into the container
|
||||
COPY ${SPHINX_SOURCE_DIR_RELATIVE} ${SPHINX_DOCKER_EXEC_DIR}
|
||||
|
||||
# Build the requirement files
|
||||
RUN cd ${SPHINX_EXEC_DIR} && make extract-requirements
|
||||
|
||||
# Install required packages
|
||||
RUN xargs -a ${SPHINX_REQUIREMENTS_DIR}/apt.txt apt install -y
|
||||
|
||||
# Install Python packages via requirements.txt
|
||||
RUN pip install --upgrade pip && pip install -r ${SPHINX_REQUIREMENTS_DIR}/pip.txt
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
application_id: "sphinx"
|
||||
|
||||
host_sphinx_source_dir_relative: "volumes/source/" # Place where the sphinx source repository is stored on the host
|
||||
host_sphinx_source_dir_absolute: "{{docker_compose.directories.instance}}{{host_sphinx_source_dir_relative}}" # Place where the sphinx source repository is stored on the host
|
||||
host_sphinx_source_dir_relative: "volumes/source/" # Place where the sphinx source repository is stored on the host
|
||||
host_sphinx_source_dir_absolute: "{{docker_compose.directories.instance}}{{host_sphinx_source_dir_relative}}" # Place where the sphinx source repository is stored on the host
|
||||
|
||||
docker_app_dir: "/app/" # Folder in which the application is running
|
||||
docker_source_dir: "{{docker_app_dir}}" # Folder which is used to be screened
|
||||
docker_output_dir: "/output/" # Folder to which the output is fuuuucking putted!
|
||||
docker_exec_dir: "{{docker_app_dir}}{{applications.sphinx.sphinx_exec_dir_relative}}" # Folder which contains the sphinxs makefile and logic
|
||||
docker_app_dir: "/app/" # Folder in which the application is running
|
||||
docker_source_dir: "{{docker_app_dir}}" # Folder which is used to be screened
|
||||
docker_output_dir: "/output/" # Folder to which the output is fuuuucking putted!
|
||||
docker_exec_dir: "{{ [ docker_app_dir, applications.sphinx.sphinx_exec_dir_relative ] | path_join }}" # Folder which contains the sphinxs makefile and logic
|
||||
|
||||
sphinx_host_dockerfile: "{{ docker_compose.directories.instance }}Dockerfile" # Path to the Dockerfile to build sphinx
|
||||
sphinx_control_node_dockerfile: "{{ [ playbook_dir, 'docs/Dockerfile' ] | path_join }}" # Path to the Dockerfile on the control node
|
||||
sphinx_host_dockerfile: "{{ docker_compose.directories.instance }}Dockerfile" # Path to the Dockerfile to build sphinx on the server
|
||||
sphinx_control_node_dockerfile: "{{ [ playbook_dir, 'docs/Dockerfile' ] | path_join }}" # Path to the Dockerfile on the control node
|
Loading…
x
Reference in New Issue
Block a user