Commit Graph

40 Commits

Author SHA1 Message Date
Chance Zibolski
78103f1df3 Remove apt-get cleanup from Dockerfile
Purging/cleaning packages using apt doesn't actually reduce image size, and only creates additional layers, which doesn't add any benefit to the overall image.
2014-07-21 20:20:35 -07:00
Baiju Muthukadan
c6058e5ea8 locate docker command during running time 2014-06-06 14:22:54 +05:30
Baiju Muthukadan
925ccc2608 use 'docker.io' command instead of 'docker' 2014-06-05 21:46:46 +05:30
Meaglith Ma
dc5546633f Remove 'ENV DEBIAN_FRONTEND noninteractive' 2014-05-01 15:37:24 +08:00
fundon
cfa0968191 Fixed codename match issue, when using FROM ubuntu wil be pulled latest image 2014-04-27 01:55:22 +08:00
Unknown
3684e70dc4 Merge branch 'master' of github.com:gogits/gogs into dev 2014-04-25 23:09:20 -06:00
Steven Pav
d0f887a1ed explicitly install sudo
```deploy.sh``` in the docker container requires ```sudo```; this should resolve #127.
2014-04-25 15:21:48 -07:00
fundon
35a86d04c0 delete superfluous environment variables 2014-04-25 17:31:57 +08:00
Michael Dyrynda
eb4691cb2f Missed one typo while fixing another... on the same line. Deplorable effort on my part! @bradleyfalzon 2014-04-24 09:12:34 +09:30
Michael Dyrynda
184f1ae135 fixed typo 2014-04-24 08:20:23 +09:30
Meaglith Ma
ee7bfe2ebe Add memcached and redis Docker supported 2014-04-23 12:29:53 +08:00
crystaldust
b01e967a9f Add the configs comments, and update the README.md file 2014-04-23 03:29:17 +00:00
crystaldust
baacba96ca Remove the dependency of Unkwon/com, since gogs has already integrate the lateset version of Unkwon/com. 2014-04-23 03:16:09 +00:00
crystaldust
e5aaf23bb2 Update the githu.com/Unknwon/com module before getting gogs. 2014-04-23 02:26:56 +00:00
crystaldust
a90a014033 Change the image naming, start with "gogits/" 2014-04-23 00:05:14 +00:00
Girish Ramakrishnan
22bb5104c8 Fix grammar 2014-04-22 12:49:22 -07:00
crystaldust
1560abe553 Add the MEM db config replacement script in the deploy.sh. 2014-04-22 10:20:27 +00:00
crystaldust
65ad26feba Checkout to the latest dev branch when building the gogs docker image. 2014-04-22 10:19:23 +00:00
crystaldust
b60d5ecc3e Add the redis Dockerfile 2014-04-22 10:15:12 +00:00
crystaldust
8a6119551b Add the memcache(d) Dockerfile 2014-04-22 10:14:10 +00:00
crystaldust
4b8d72dec2 Change the MySQL password placeholder to THE_DB_PASSWORD. 2014-04-22 09:49:10 +00:00
crystaldust
066d91e113 Allow the user to config the apt source in build.sh 2014-04-15 23:48:33 -04:00
crystaldust
bb84bb8ac3 Add two apt source:aliyun and nchc, make a '#sourcename#' before the RUN command to make the apt source configurable in build.sh 2014-04-15 23:41:46 -04:00
crystaldust
213b366959 Remove the installation of PostgreSQL, which not needed actually. 2014-04-15 23:34:58 -04:00
crystaldust
dfba49b062 Update README.md
Add the instruction of installing gogs with PostgreSQL
2014-04-16 07:50:58 +08:00
Lance Ju
83283dfe37 Merge remote-tracking branch 'origin/master'
Add the support of postgres as the database.
(Config the db in the build.sh file, make the DB_TYPE to 'postgres').
2014-04-16 00:58:09 +08:00
Lance Ju
f456f964ec Add the apt source when installing potgres.
Replace the host with $DB_PORT, which is dependent to the database imagae's exposed port.
2014-04-16 00:55:39 +08:00
Lance Ju
1f989d0b98 Replace the 'mysql' options with 'db' options in build.sh 2014-04-16 00:54:02 +08:00
Lance Ju
8080beea85 Add the line to replace the database type.
Replace the 'mysql' options with 'db' options, makeing the config according to the database type.
2014-04-16 00:17:52 +08:00
Lance Ju
1d3c7693b7 Build the database image by the variable DB_TYPE, but not mysql. 2014-04-16 00:16:32 +08:00
Lance Ju
6cc914b090 Rename the posgresql to postgres, add the Dockerfile for postgres image. 2014-04-16 00:14:17 +08:00
crystaldust
a4f070b828 Update README.md
Update the guide of how to deploy gogs in docker with the scripts.
2014-04-11 16:10:52 +08:00
Lance Ju
b1a3ba9932 Fix the path problem, which will build the mysql image as the gogits image 2014-04-11 15:32:57 +08:00
Lance Ju
2315dc39b6 Add the auto build scripts for deplying gogs with Docker. 2014-04-11 14:55:43 +08:00
crystaldust
5966dd78e6 Add the scirpts for auto deploy. 2014-04-10 19:56:19 +08:00
Meaglith Ma
4efb56af03 Update README.md 2014-04-09 10:48:05 +08:00
Meaglith Ma
c8b81d8339 Create README.md 2014-04-09 10:46:05 +08:00
Meaglith Ma
5f4b5c1557 Temp commit 2014-04-06 17:31:42 +08:00
Meaglith Ma
a044c24c3d Update the Golang Dockerfile and add mysql Dockerfile 2014-04-01 14:27:21 +08:00
Meaglith Ma
5a01a0f668 Init dockerfiles folder and base gogs Dockerfile 2014-04-01 01:47:32 +08:00