Mercurial > lada > lada-client
annotate install-dependencies.sh @ 1188:5489ae5ef9e0
Migrate Dockerfile to Debian.
This avoids need for custom httpd configuration and
certificate problems with curl.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 07 Sep 2016 12:57:19 +0200 |
parents | db9297e559ab |
children | 16fd88e8c922 |
rev | line source |
---|---|
948 | 1 #!/bin/bash -e |
2 | |
3 CUR_DIR=`pwd` | |
4 SCRIPT_DIR=`dirname $0` | |
5 | |
6 cd $SCRIPT_DIR | |
951
62f0b084fe1f
wget produces spammy output when used in docker build.
Tom Gottfried <tom@intevation.de>
parents:
948
diff
changeset
|
7 curl -O https://cdn.sencha.com/ext/gpl/ext-4.2.1-gpl.zip |
952
0ecbcafdb32f
Follow redirections and do not overwrite existing files.
Tom Gottfried <tom@intevation.de>
parents:
951
diff
changeset
|
8 unzip -n ext-4.2.1-gpl.zip |
1096
6f4e76b9388a
Allow reinstalling dependencies and adapt to changed OL-archive content.
Tom Gottfried <tom@intevation.de>
parents:
952
diff
changeset
|
9 ln -sf ext-4.2.1.883 extjs |
948 | 10 |
11 mkdir -p resources/lib/ext | |
12 cd resources/lib | |
13 | |
952
0ecbcafdb32f
Follow redirections and do not overwrite existing files.
Tom Gottfried <tom@intevation.de>
parents:
951
diff
changeset
|
14 curl -L https://github.com/eligrey/FileSaver.js/archive/master.zip \ |
951
62f0b084fe1f
wget produces spammy output when used in docker build.
Tom Gottfried <tom@intevation.de>
parents:
948
diff
changeset
|
15 -o FileSaver-js.zip |
952
0ecbcafdb32f
Follow redirections and do not overwrite existing files.
Tom Gottfried <tom@intevation.de>
parents:
951
diff
changeset
|
16 unzip -n FileSaver-js.zip |
1096
6f4e76b9388a
Allow reinstalling dependencies and adapt to changed OL-archive content.
Tom Gottfried <tom@intevation.de>
parents:
952
diff
changeset
|
17 ln -sf FileSaver.js-master FileSaver |
948 | 18 |
952
0ecbcafdb32f
Follow redirections and do not overwrite existing files.
Tom Gottfried <tom@intevation.de>
parents:
951
diff
changeset
|
19 curl -L https://github.com/eligrey/Blob.js/archive/master.zip \ |
951
62f0b084fe1f
wget produces spammy output when used in docker build.
Tom Gottfried <tom@intevation.de>
parents:
948
diff
changeset
|
20 -o Blob-js.zip |
952
0ecbcafdb32f
Follow redirections and do not overwrite existing files.
Tom Gottfried <tom@intevation.de>
parents:
951
diff
changeset
|
21 unzip -n Blob-js.zip |
1096
6f4e76b9388a
Allow reinstalling dependencies and adapt to changed OL-archive content.
Tom Gottfried <tom@intevation.de>
parents:
952
diff
changeset
|
22 ln -sf Blob.js-master Blob |
948 | 23 |
952
0ecbcafdb32f
Follow redirections and do not overwrite existing files.
Tom Gottfried <tom@intevation.de>
parents:
951
diff
changeset
|
24 curl -L https://github.com/openlayers/openlayers/archive/release-2.13.1.zip \ |
951
62f0b084fe1f
wget produces spammy output when used in docker build.
Tom Gottfried <tom@intevation.de>
parents:
948
diff
changeset
|
25 -o OpenLayers-2-13-1.zip |
952
0ecbcafdb32f
Follow redirections and do not overwrite existing files.
Tom Gottfried <tom@intevation.de>
parents:
951
diff
changeset
|
26 unzip -n OpenLayers-2-13-1.zip |
1102
d91b0e649e8c
Fix OpenLayers installation.
Tom Gottfried <tom@intevation.de>
parents:
1097
diff
changeset
|
27 ln -sf ol2-release-2.13.1 OpenLayers |
d91b0e649e8c
Fix OpenLayers installation.
Tom Gottfried <tom@intevation.de>
parents:
1097
diff
changeset
|
28 cd OpenLayers/build |
d91b0e649e8c
Fix OpenLayers installation.
Tom Gottfried <tom@intevation.de>
parents:
1097
diff
changeset
|
29 python build.py full.cfg ../OpenLayers.js |
948 | 30 |
1103
db9297e559ab
fix install-dependencies.sh
Michael Stanko <mstanko@bfs.de>
parents:
1102
diff
changeset
|
31 cd ../../ext |
952
0ecbcafdb32f
Follow redirections and do not overwrite existing files.
Tom Gottfried <tom@intevation.de>
parents:
951
diff
changeset
|
32 curl -L https://github.com/elmasse/Ext.i18n.Bundle/archive/v0.3.3.zip \ |
951
62f0b084fe1f
wget produces spammy output when used in docker build.
Tom Gottfried <tom@intevation.de>
parents:
948
diff
changeset
|
33 -o Ext-i18n-Bundle-v0-3-3.zip |
952
0ecbcafdb32f
Follow redirections and do not overwrite existing files.
Tom Gottfried <tom@intevation.de>
parents:
951
diff
changeset
|
34 unzip -n Ext-i18n-Bundle-v0-3-3.zip |
1097
7c0bc1146796
Adapt to changed i18n-bundle-archive content.
Tom Gottfried <tom@intevation.de>
parents:
1096
diff
changeset
|
35 ln -sf elmasse-bundle-0.3.3/i18n i18n |
948 | 36 |
952
0ecbcafdb32f
Follow redirections and do not overwrite existing files.
Tom Gottfried <tom@intevation.de>
parents:
951
diff
changeset
|
37 curl -L https://github.com/ivan-novakov/extjs-upload-widget/archive/1.1.1.zip \ |
951
62f0b084fe1f
wget produces spammy output when used in docker build.
Tom Gottfried <tom@intevation.de>
parents:
948
diff
changeset
|
38 -o Ext-ux-Upload-1-1-1.zip |
952
0ecbcafdb32f
Follow redirections and do not overwrite existing files.
Tom Gottfried <tom@intevation.de>
parents:
951
diff
changeset
|
39 unzip -n Ext-ux-Upload-1-1-1.zip |
1096
6f4e76b9388a
Allow reinstalling dependencies and adapt to changed OL-archive content.
Tom Gottfried <tom@intevation.de>
parents:
952
diff
changeset
|
40 ln -sf extjs-upload-widget-1.1.1/lib/upload upload |
948 | 41 |
42 cd $CUR_DIR |