Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ibrowser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Aflitos, Saulo Alves
ibrowser
Commits
03a79273
Commit
03a79273
authored
9 years ago
by
Aflitos, Saulo Alves
Browse files
Options
Downloads
Patches
Plain Diff
using amazon debian repository
parent
f6f722b5
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
docker/introgressionbrowser_runtime/Dockerfile
+37
-4
37 additions, 4 deletions
docker/introgressionbrowser_runtime/Dockerfile
with
37 additions
and
4 deletions
docker/introgressionbrowser_runtime/Dockerfile
+
37
−
4
View file @
03a79273
...
...
@@ -4,10 +4,41 @@ FROM ubuntu:14.04.3
ENV
DEBIAN_FRONTEND noninteractive
RUN
bash
-c
"echo -e 'deb mirror://mirrors.ubuntu.com/mirrors.txt trusty main restricted universe multiverse
\n
deb mirror://mirrors.ubuntu.com/mirrors.txt trusty-updates main restricted universe multiverse
\n
deb mirror://mirrors.ubuntu.com/mirrors.txt trusty-backports main restricted universe multiverse
\n
deb mirror://mirrors.ubuntu.com/mirrors.txt trusty-security main restricted universe multiverse' > /etc/apt/sources.list"
&&
\
apt-get clean all
&&
\
apt-get update
&&
\
apt-get
-y
upgrade
&&
\
#RUN bash -c "echo -e 'deb mirror://mirrors.ubuntu.com/mirrors.txt trusty main restricted universe multiverse\ndeb mirror://mirrors.ubuntu.com/mirrors.txt trusty-updates main restricted universe multiverse\ndeb mirror://mirrors.ubuntu.com/mirrors.txt trusty-backports main restricted universe multiverse\ndeb mirror://mirrors.ubuntu.com/mirrors.txt trusty-security main restricted universe multiverse' > /etc/apt/sources.list" && cat /etc/apt/sources.list
# california
ENV
AMAZON=us-west-1
# oregon
#ENV AMAZON=us-west-2
# sao paulo
#ENV AMAZON=sa-east-1
# dublin
#ENV AMAZON=eu-west-1
# frankfurt
#ENV AMAZON=eu-central-1
# singapore
#ENV AMAZON=ap-southeast-1
# tokio
#ENV AMAZON=ap-northeast-1
RUN
bash
-c
"echo -e '
\
deb http://'
$AMAZON
'.clouds.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
\n\
deb http://'
$AMAZON
'.clouds.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
\n\
deb http://'
$AMAZON
'.clouds.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
\n
'
\
> /etc/apt/sources.list"
&&
\
cat
/etc/apt/sources.list
&&
\
printenv
|
sort
&&
\
rm
/var/lib/apt/lists/
*
-rvf
&&
\
mkdir
-p
/var/lib/apt/lists/partial
&&
\
chmod
755 /var/lib/apt/lists/partial
&&
\
apt-get update
&&
\
apt-get
-y
upgrade
&&
\
apt-get
install
-y
-f
libapache2-mod-wsgi apache2 nano build-essential
\
checkinstall openssl sqlite3 libsqlite3-dev git nano
\
libfreetype6 libfreetype6-dev zlib1g-dev libjpeg62 libjpeg62-dev
\
...
...
@@ -19,6 +50,8 @@ RUN bash -c "echo -e 'deb mirror://mirrors.ubuntu.com/mirrors.txt trusty main re
a2enmod wsgi
&&
a2enmod proxy
&&
a2enmod proxy_http
&&
a2enmod rewrite
&&
\
mkdir
-p
/etc/apache2/mods-available/
# apt-get clean all && \
ADD
requirements.txt /requirements.txt
RUN
pip
install
--requirement
/requirements.txt
...
...
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