Debugging using ubuntu

This commit is contained in:
2020-10-20 10:53:37 +02:00
parent a701ca41c5
commit 88bd3eb649
2 changed files with 4 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
FROM python:3.9.0-windowsservercore FROM ubuntu:latest
RUN setup.exe -q -n -P openssh git graphviz gcc RUN apt update && apt install --no-cache bash git openssh graphviz gcc
RUN python -m pip install --upgrade pip setuptools wheel pyparsing pydot django-extensions django RUN python -m pip install --upgrade pip setuptools wheel pyparsing pydot django-extensions django
COPY entrypoint.sh /entrypoint.sh COPY entrypoint.sh /entrypoint.sh

View File

@@ -25,6 +25,8 @@ _git_changed() {
[[ -n "$(git status -s)" ]] [[ -n "$(git status -s)" ]]
} }
python --version
# PROGRAM # PROGRAM
echo "Installing dependencies..." echo "Installing dependencies..."
pip install --no-cache-dir -r $INPUT_PIP_PATH pip install --no-cache-dir -r $INPUT_PIP_PATH