Removed pydot dependencies

This commit is contained in:
2022-07-11 13:29:46 +02:00
parent 562d275999
commit c1371a0f89
2 changed files with 3 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
FROM python:3.10-slim-bullseye FROM python:3.10-slim-bullseye
RUN apt-get update -y && apt-get install -y --no-install-recommends bash git graphviz graphviz-dev musl-dev build-essential gcc python3-dev libffi-dev poppler-utils zlib1g-dev libjpeg-dev libssl-dev && apt-get clean && rm -rf /var/lib/apt/lists/* RUN apt-get update -y && apt-get install -y --no-install-recommends bash git graphviz graphviz-dev musl-dev build-essential gcc && apt-get clean && rm -rf /var/lib/apt/lists/*
COPY entrypoint.sh /entrypoint.sh COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]

View File

@@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# e is for exiting the script automatically if a command fails, u is for exiting if a variable is not set # e is for exiting the script automatically if a command fails, u is for exiting if a variable is not set
# x would be for showing the commands before they are executed # x would be for showing the commands before they are executed
set -eux set -eu
# FUNCTIONS # FUNCTIONS
# Function for setting up git env in the docker container (copied from https://github.com/stefanzweifel/git-auto-commit-action/blob/master/entrypoint.sh) # Function for setting up git env in the docker container (copied from https://github.com/stefanzweifel/git-auto-commit-action/blob/master/entrypoint.sh)
@@ -26,8 +26,7 @@ _git_changed() {
} }
echo "Installing dependencies..." echo "Installing dependencies..."
pip3 install -U pip wheel pyparsing graphviz pydot pip3 install -U pip wheel pygraphviz
pip3 install Django django-extensions
pip3 install -r $INPUT_PIP_PATH pip3 install -r $INPUT_PIP_PATH
echo "Creating data model..." echo "Creating data model..."