Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FoD
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Schmitz
FoD
Commits
cfe54edd
Commit
cfe54edd
authored
5 years ago
by
David Schmitz
Browse files
Options
Downloads
Patches
Plain Diff
updates to dockerfile
parent
a109803c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+11
-4
11 additions, 4 deletions
Dockerfile
with
11 additions
and
4 deletions
Dockerfile
+
11
−
4
View file @
cfe54edd
FROM
debian:stable
#FROM debian:stable
FROM
debian:stretch
RUN
apt-get
-yqq
update
RUN
[
-z
"
$NOAPT
"
]
&&
apt-get
-yqq
update
RUN
apt-get
-yqq
install
virtualenv python python-dev vim git gcc libevent-dev libxml2-dev libxslt-dev patch beanstalkd mariadb-server libmariadb-dev libmariadbclient-dev-compat sqlite3
RUN
[
-z
"
$NOAPT
"
]
&&
apt-get
-yqq
upgrade
RUN
apt-get
-yqq
install
procps
RUN
[
-z
"
$NOAPT
"
]
&&
apt-get
-yqq
install
virtualenv python python-dev vim git gcc libevent-dev libxml2-dev libxslt-dev patch beanstalkd mariadb-server libmariadb-dev libmariadbclient-dev-compat sqlite3
RUN
[
-z
"
$NOAPT
"
]
&&
apt-get
-yqq
install
procps
# RUN echo "create database fod;" | mysql -u root
# RUN echo "create database fod;" | mysql -u root
...
@@ -19,6 +22,8 @@ RUN (cd /srv/flowspy/; . /srv/venv/bin/activate && \
...
@@ -19,6 +22,8 @@ RUN (cd /srv/flowspy/; . /srv/venv/bin/activate && \
./manage.py syncdb
--noinput
&&
\
./manage.py syncdb
--noinput
&&
\
./manage.py migrate
;
)
./manage.py migrate
;
)
RUN
[
"
$INSTALL_TEST_APACHE_SHIB
"
=
1
]
&&
./inst/apache_shib/apache_shib_init.sh
# echo "To set environment to English, run: export LC_ALL=en_US"
# echo "To set environment to English, run: export LC_ALL=en_US"
# echo "To activate virualenv: source /srv/venv/bin/activate"
# echo "To activate virualenv: source /srv/venv/bin/activate"
# echo "To create a user run: cd /srv/flowspy; ./manage.py createsuperuser"
# echo "To create a user run: cd /srv/flowspy; ./manage.py createsuperuser"
...
@@ -27,5 +32,7 @@ RUN (cd /srv/flowspy/; . /srv/venv/bin/activate && \
...
@@ -27,5 +32,7 @@ RUN (cd /srv/flowspy/; . /srv/venv/bin/activate && \
EXPOSE
8000
EXPOSE
8000
WORKDIR
/srv/flowspy
CMD
[ "/srv/flowspy/runfod.sh" ]
CMD
[ "/srv/flowspy/runfod.sh" ]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment