Update build-all.sh

This commit is contained in:
Disassembler 2019-10-03 20:08:37 +02:00
parent c9ceaff648
commit 2e674aa2d0
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
3 changed files with 43 additions and 103 deletions

@ -1 +1 @@
Subproject commit ae2a913d0ca05422a1f070c27c4057119177ab8d Subproject commit 6045349f9c3602d6ba9b081a62d4338b202521d6

View File

@ -47,101 +47,51 @@ abuild -F
# Build apd pack runtimes # Build apd pack runtimes
cd ${ROOT}/lxc-shared cd ${ROOT}/lxc-shared
lxc-build alpine3.8 lxcbuild alpine3.8
lxc-build alpine3.8-php5.6 lxcbuild alpine3.8-php5.6
lxc-build alpine3.8-nodejs8 lxcbuild alpine3.8-nodejs8
lxc-build alpine3.8-ruby2.4 lxcbuild alpine3.8-ruby2.4
lxc-build alpine3.9 lxcbuild alpine3.9
lxc-build alpine3.9-java8 lxcbuild alpine3.9-java8
lxc-build alpine3.9-php7.2 lxcbuild alpine3.9-php7.2
lxc-build alpine3.9-python2.7 lxcbuild alpine3.9-python2.7
lxc-build alpine3.9-python3.6 lxcbuild alpine3.9-python3.6
lxc-build alpine3.9-nodejs10 lxcbuild alpine3.9-nodejs10
lxc-build alpine3.9-ruby2.4 lxcbuild alpine3.9-ruby2.4
lxc-build alpine3.9-tomcat7 lxcbuild alpine3.9-tomcat7
lxc-build alpine3.9-tomcat8.5 lxcbuild alpine3.9-tomcat8.5
# Build services # Build services
cd ${ROOT}/lxc-services cd ${ROOT}/lxc-services
lxc-build activemq lxcbuild activemq
lxc-build mariadb lxcbuild mariadb
lxc-build postgres lxcbuild postgres
lxc-build postgis lxcbuild postgis
lxc-build rabbitmq lxcbuild rabbitmq
lxc-build redis lxcbuild redis
lxc-build solr lxcbuild solr6
# Build applications # Build applications
cd ${ROOT}/lxc-apps cd ${ROOT}/lxc-apps
lxc-build ckan lxcbuild ckan
lxc-build ckan-datapusher lxcbuild ckan-datapusher
lxc-build crisiscleanup lxcbuild crisiscleanup
lxc-build cts lxcbuild cts
lxc-build ecogis lxcbuild ecogis
lxc-build frontlinesms lxcbuild frontlinesms
lxc-build gnuhealth lxcbuild gnuhealth
lxc-build kanboard lxcbuild kanboard
lxc-build mifosx lxcbuild mifosx
lxc-build motech lxcbuild motech
lxc-build odoo lxcbuild odoo
lxc-build opendatakit lxcbuild opendatakit
lxc-build opendatakit-build lxcbuild opendatakit-build
lxc-build openmapkit lxcbuild openmapkit
lxc-build pandora lxcbuild pandora
lxc-build sahana-shared lxcbuild sahana-shared
lxc-build sahana lxcbuild sahana
lxc-build sahana-demo lxcbuild sahana-demo
lxc-build sambro lxcbuild sambro
lxc-build seeddms lxcbuild seeddms
lxc-build sigmah lxcbuild sigmah
lxc-build ushahidi lxcbuild ushahidi
# Pack runtimes
cd ${ROOT}/lxc-shared
lxc-pack alpine3.8
lxc-pack alpine3.8-php5.6
lxc-pack alpine3.8-nodejs8
lxc-pack alpine3.8-ruby2.4
lxc-pack alpine3.9
lxc-pack alpine3.9-java8
lxc-pack alpine3.9-php7.2
lxc-pack alpine3.9-python2.7
lxc-pack alpine3.9-python3.6
lxc-pack alpine3.9-nodejs10
lxc-pack alpine3.9-ruby2.4
lxc-pack alpine3.9-tomcat7
lxc-pack alpine3.9-tomcat8.5
# Pack services
cd ${ROOT}/lxc-services
lxc-pack activemq
lxc-pack mariadb
lxc-pack postgres
lxc-pack rabbitmq
lxc-pack redis
lxc-pack solr
# Pack applications
cd ${ROOT}/lxc-apps
lxc-pack ckan-datapusher
lxc-pack ckan
lxc-pack crisiscleanup
lxc-pack cts
lxc-pack ecogis
lxc-pack frontlinesms
lxc-pack gnuhealth
lxc-pack kanboard
lxc-pack mifosx
lxc-pack motech
lxc-pack odoo
lxc-pack opendatakit
lxc-pack opendatakit-build
lxc-pack openmapkit
lxc-pack pandora
lxc-pack sahana-shared
lxc-pack sahana
lxc-pack sahana-demo
lxc-pack sambro
lxc-pack seeddms
lxc-pack sigmah
lxc-pack ushahidi

View File

@ -82,13 +82,6 @@ The *lxcfile* syntax is designed to resemble *Dockerfile* syntax in order to eas
- **Docker equivalent:** `COPY` or `ADD` - **Docker equivalent:** `COPY` or `ADD`
- **Populates LXC field:** None - **Populates LXC field:** None
### MOUNT
- **Usage:** `MOUNT DIR|FILE <source> <destination>`
- **Description:** Creates a directory or file mount for the container. The `<source>` is usually given as absolute path existing on the LXC host, the `<destination>` is a path relative to the container root directory. If the file doesn't exist in any of the container layers, it is automatically created on container startup.
- **Docker equivalent:** `VOLUME`
- **Populates LXC field:** `lxc.mount.entry`
### USER ### USER
- **Usage:** `USER <uid> <gid>` - **Usage:** `USER <uid> <gid>`
@ -192,9 +185,6 @@ RUN EOF
apk --no-cache add redis apk --no-cache add redis
EOF EOF
MOUNT FILE /srv/redis/conf/redis.conf etc/redis.conf
MOUNT DIR /srv/redis/data var/lib/redis
USER 6379 6379 USER 6379 6379
CMD redis-server /etc/redis.conf CMD redis-server /etc/redis.conf
``` ```