Girish Ramakrishnan
c93863ef58
Create separate partition for docker images and appdata
...
This allows us to track their usage easily
Note that files created using dd/truncate are sparse files!
https://wiki.archlinux.org/index.php/sparse_file
Part of #72
2014-09-06 18:43:27 -07:00
Girish Ramakrishnan
0fa3f63673
Upgrade ubuntu as well
2014-09-06 18:43:27 -07:00
Girish Ramakrishnan
878b2ccfe9
Remove code that updates the box repo
...
This code was used previously when we used to run setup script
over and over again on same base image. This is not done anymore.
2014-09-06 18:43:27 -07:00
Girish Ramakrishnan
e2ab01339d
Pull in base:0.4 as well
2014-09-04 11:30:56 -07:00
Girish Ramakrishnan
92c4ba2bbc
Pull specific version of base
2014-09-03 16:09:24 -07:00
Girish Ramakrishnan
bce609ed52
Make APPSTORE_URL configurable
...
Specify dev or alpha as first argument
2014-09-03 08:13:12 -07:00
Girish Ramakrishnan
d6ecb4aa55
Allow creation of DO images for a specific revision
2014-08-29 13:25:56 -07:00
Girish Ramakrishnan
4d70600ef1
print the git revision
2014-08-28 01:55:05 -07:00
Johannes Zellner
609616b89b
Fix syntax error in bootstrap.sh
2014-08-24 04:39:11 -07:00
Johannes Zellner
d9d125468c
Log everything to /var/log/cloudron/
2014-08-24 01:38:57 -07:00
Girish Ramakrishnan
f6ad431936
chmod +x nsenter
2014-08-11 18:39:55 -07:00
Girish Ramakrishnan
0d3bfb7cd1
Install nsenter
...
Fixes appstore's issue 10
2014-08-11 13:57:49 -07:00
Girish Ramakrishnan
16a650f65e
Pull all base docker images
2014-08-08 13:19:54 -07:00
Girish Ramakrishnan
c83545a2b7
Install rcconf
2014-08-07 15:40:06 -07:00
Girish Ramakrishnan
5f7d67655b
Store log to persistent storage
2014-08-07 15:00:54 -07:00
Girish Ramakrishnan
d01398e460
Fix some bloopers
...
set -e has already done
Just skip checkout altogether
2014-08-07 12:10:07 -07:00
Girish Ramakrishnan
fa10e77def
Do not start supervisor automatically
...
The bootstrap.sh script enables it after it's done configuring
supervisor
2014-08-07 11:53:02 -07:00
Girish Ramakrishnan
3424e51ba4
Give name to checkout branch
2014-08-07 11:46:00 -07:00
Girish Ramakrishnan
fab5e40aae
Make scripts error out automatically
2014-08-07 11:27:48 -07:00
Girish Ramakrishnan
f3f4731a04
Update the code as yellowtent user
2014-08-07 11:23:54 -07:00
Girish Ramakrishnan
a280ff77f1
sudoers file is already setup in bootstrap.sh
2014-08-07 11:18:50 -07:00
Girish Ramakrishnan
04f33d365e
Rename BASEDIR to SRCDIR
2014-08-07 10:59:25 -07:00
Girish Ramakrishnan
f7b49d1449
Fix typo
2014-08-07 10:59:24 -07:00
Johannes Zellner
80eb87069c
Capture bootstrap script output in log file
2014-08-01 08:35:56 -07:00
Johannes Zellner
a9b2020270
Ensure npm install succeeds
2014-07-31 17:48:30 -07:00
Johannes Zellner
f92ca8bb03
Move bootstrap script to box
...
Instead of executing the bootstrap script via ssh,
we now run it once the box boots the first time.
It will update the repo and run the box code, which
needs to contact the appstore in order to get provisioned.
2014-07-31 08:16:35 -07:00
Johannes Zellner
dce7a49eb7
Only add user to docker group after installing docker
2014-07-30 17:26:52 -07:00
Johannes Zellner
3dcd938951
Disable nginx init scripts
...
nginx is handled via supervisor
2014-07-10 22:51:36 -07:00
Johannes Zellner
b84f81feb4
Also escape the eval backticks
2014-07-09 13:26:16 -07:00
Johannes Zellner
9aefeaa9fc
Escape the shell variables for the init script
2014-07-09 13:13:16 -07:00
Johannes Zellner
3437474837
Make the announce init script retry until it succeeds
2014-07-09 10:59:05 -07:00
Johannes Zellner
933d3381b6
Actually send the hostname of the newly created droplet
2014-07-07 10:26:26 -07:00
Johannes Zellner
acb6bf12ca
Fix typo in base image creation script
2014-07-07 08:10:56 -07:00