Skip to content
Snippets Groups Projects
Commit 01ded15d authored by David Schmitz's avatar David Schmitz
Browse files

Docker: fixing broken CENTOS docker builds

parent 28da545d
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ RUN yum -y install procps
RUN mkdir -p /var/log/fod /srv
#COPY . /srv/flowspy
COPY install-centos.sh requirements.txt /srv/flowspy/
COPY install-centos.sh requirements.txt requirements-centos.txt /srv/flowspy/
RUN (cd /srv/flowspy; ./install-centos.sh --basesw;)
......
......
......@@ -57,10 +57,10 @@ SECRET_KEY = '@sa@5234#$%345345^@#$%*()123^@12!&!()$JMNDF#$@(@#8FRNJWX_'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
'NAME': '',
'USER': '',
'PASSWORD': '',
'ENGINE': 'django.db.backends.', # DB_ENGINE # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
'NAME': '', # DB_NAME
'USER': '', # DB_USER
'PASSWORD': '', # DB_PASSWORD
'HOST': '', # Set to empty string for localhost.
'PORT': '', # Set to empty string for default.
}
......
......
......@@ -156,7 +156,9 @@ else
(
cd flowspy
if [ ! -e settings.py ]; then
if [ -e settings.py.centos ]; then
cp -f settings.py.centos settings.py
elif [ ! -e settings.py ]; then
#cp -f settings.py.dist settings.py
cp -f settings.py.centos.dist settings.py
patch settings.py < settings.py.patch
......
......
......@@ -37,4 +37,5 @@ cryptography
redis
pytest==6.2.5
pytest-django==4.4.0
intervaltree
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment