Commit Graph

71 Commits

Author SHA1 Message Date
Rafael dos Santos Silva 5369fa7aca Bumps version to 1.3.9 2016-12-06 22:52:33 -02:00
Rafael dos Santos Silva 2aa612fecf Bumps images to 1.3.8 2016-11-16 22:49:19 -02:00
Jared Reisinger 3447089f9e Improve image building (primarily for discourse_dev)
Move "discourse" user and "/var/www" directory creation into base image
so that discourse_dev can build from base image directly instead of
requiring the overhead of the full discourse image.

Remove discourse_fast_switch dependency from discourse_dev, and remove
the ruby 2.2/2.0 logic, as Discourse already appears to require 2.3.0 or
greater.

Remove discourse_dev's independent `postgres.template.yml` and
`redis.template.yml` files, and instead derive them from the top-level
templates directory.  This ensures that the discourse_dev image is
always up-to-date with the discourse main image.

Add password-less "sudo" permissions for the "discourse" user in the
discourse_dev image.  This simplifies (fixes) the "bundle install"
command (and others) as implemented by discourse/bin/docker utilities.

Add image/Makefile so that images can be built even on machines without
Ruby installed.  Logic is replicated from `image/build.rb`, and should
result in equivalent images.  (Perhaps build.rb should be removed?)

Add automation in Makefile to ensure that all Dockerfiles are updated to
match the version number in the Makefile.  (This includes the `/VERSION`
file written into the base image.)

Add image/README.md to describe the images and process.

Update ImageMagick to 6.9.5-9 in the base Dockerfile because 6.9.5-8 is
no longer available. (Perhaps this dependency should be vendored.)

Fix base "boot" failure caused by missing log files on a new instance
(in `base/runit-1.d-00-fix-var-logs`).  Before chowning the log files,
"touch" them to ensure they exist.  This failure previously prevented
the discourse_dev `ensure-database` script from running, which made
development use of discourse_dev very difficult.

Update to version 1.3.7.  (Driven by IMAGE_VERSION in the Makefile.
Mostly, this is to ensure that the next official build of the images
will be *at least* 1.3.7, superseding any previous versions.)
2016-09-20 15:02:31 -07:00
Sam 089e57a231 base image update 2016-09-01 10:18:32 +10:00
Sam 3dc80d6ac9 bump version 2016-06-08 10:33:31 +10:00
Sam e8b9677b79 New base image
- add brotli support to nginx
- update imagemagick
- update phantomjs to safe version
2016-06-07 16:13:02 +10:00
Sam 71c3c6555c correct and validate image magick install 2016-05-23 18:58:15 +10:00
Sam 2f36b7c52d latest rubygems has problems
https://github.com/bundler/bundler/issues/4602
2016-05-23 16:35:45 +10:00
Sam dc7a8ede79 bump image, shave off some more bytes 2016-05-23 13:02:39 +10:00
Sam 4669716b71 bump version in a few spots 2016-05-17 17:06:37 +10:00
Guo Xiang Tan ddf77f732f
Bump Ruby version to 2.3.1. 2016-05-16 14:31:03 +08:00
Sam 8d96992bec bump version 2016-02-22 10:50:27 +11:00
Sam 931b22316b version bump 2016-01-26 16:40:16 +11:00
Sam Saffron 570c677faa bump version 2015-11-18 19:23:23 -05:00
Sam Saffron 399a0bba08 upgrade images 2015-11-18 00:49:02 -05:00
Sam b6ec8ce243 update bundler 2015-08-17 17:24:06 +10:00
Robin Ward 9b102d5934 Add eslint to test image 2015-08-13 14:49:16 -04:00
Sam 5490a4ea0f remove old unused docker images, update version 2015-05-29 14:51:02 +10:00
Sam cef7714fdb Added a 2.2 image and updated test to use it 2015-03-30 12:20:40 +11:00
Sam 129fe49b7d change entrypoint for cleaner updates 2014-06-20 09:34:48 +10:00
Sam be7af76b9a FEATURE: test container 2014-06-19 16:10:43 +10:00