Jarek Radosz
526b43200c
Bump default base image to 2.0.20250226-0128 ( #946 )
2025-02-26 12:02:42 +01:00
SouthpawKB
375bcf1675
DEV: Launcher Cleanup - Remove redundant word in error message ( #944 )
2025-02-25 16:26:10 -05:00
mwaniki-wairungu
7b4839c5ea
Bump default base image to discourse/base:2.0.20250129-0720 ( #931 )
...
Follow-up to d9c837c783
2025-01-29 11:53:40 +03:00
mwaniki-wairungu
d9c837c783
FEATURE: Update base image and set default to postgresql 15 ( #909 )
...
This updates the default PostgreSQL version to 15.
* image/base: update default postgres version to 15
* launcher: bump base image to include postgres 15
* postgres.template.yml: update default version to 15
* postgres.15.template.yml: current version template
Legacy version templates:
* postgres.13.template.yml
* postgres.12.template.yml
* postgres.10.template.yml
* postgres.9.5.template.yml
2025-01-29 10:20:49 +03:00
Jarek Radosz
4f56ee9f72
Bump default base image to discourse/base:2.0.20250114-0014
2025-01-14 15:46:23 +01:00
Alan Guo Xiang Tan
d4ebd314de
DEV: Periodic bump of launcher ( #906 )
2025-01-07 14:18:56 +08:00
Alan Guo Xiang Tan
dfaf203e16
DEV: Periodic bump of launcher base image ( #893 )
...
Pulls in various fixes and updates
2024-12-10 10:39:20 +08:00
Alan Guo Xiang Tan
3186478f51
Reduce min docker version to 20.10.0 ( #861 )
...
Follow up to 31931deae8
Docker 20.10.0 works for now so be less aggressive in forcing people to
upgrade.
2024-09-04 11:35:26 +08:00
Alan Guo Xiang Tan
31931deae8
DEV: Bump minimal Docker version to 24.0.7 ( #860 )
...
When running the newer Debian bookworm based images, we are seeing
`(ThreadError) can't create Thread: Operation not permitted` errors when
trying to spawn a thread in Ruby.
A similar issue was reported in https://github.com/docker-library/ruby/issues/429#issuecomment-1708908819
and the fix here is to upgrade Docker. Either way, we should probably
update because Docker 17 has been EOF for many many years.
2024-09-04 10:47:58 +08:00
Alan Guo Xiang Tan
def0f9ec3f
Base image in launcher ( #838 )
...
This pulls in the Nginx 1.26.1 update, Ruby 3.3.4 update and Debian
bookworm update.
2024-08-26 13:22:33 +08:00
Alan Guo Xiang Tan
eded2f8b5d
Bump base image used by launcher to pull in Ruby 3.3.3 ( #813 )
2024-07-09 10:06:19 +08:00
Alan Guo Xiang Tan
964236a5e8
FEATURE: Bump base image used by launcher to pull in Ruby 3.3.x take 2 ( #805 )
...
First attempt in 01ce8cf8f9
was reverted
because our new base image was not compatible with the stable branch of
discourse/discourse.
2024-06-03 10:33:29 +08:00
David Taylor
7bcf0a4399
Revert "FEATURE: Bump base image used by launcher to pull in Ruby 3.3.1 ( #802 )" ( #803 )
...
This reverts commit 01ce8cf8f9
.
We are investigating incompatibilities with Discourse stable.
2024-05-20 12:10:53 +01:00
Alan Guo Xiang Tan
01ce8cf8f9
FEATURE: Bump base image used by launcher to pull in Ruby 3.3.1 ( #802 )
2024-05-20 10:52:34 +08:00
Alan Guo Xiang Tan
6c42a465c9
DEV: Bump default base image for launcher to `discourse/base:2.0.20240502-0021` ( #795 )
...
This is necessary to pull in 303b646c3c
2024-05-02 09:46:00 +08:00
Steffy Fort
23e03a1ee1
Fix: Remove egrep for grep -E ( #680 )
...
Co-authored-by: Steffy Fort <steffy.fort@cozycloud.cc>
2024-03-21 05:54:55 +08:00
Chris Rendle-Short
fcce137604
Bump default base image to discourse/base:2.0.20231218-0429
2023-12-19 11:24:35 +11:00
Andrew Schleifer
d0d787a14c
Bump default base image to discourse/base:2.0.20231214-0023
2023-12-17 17:50:34 +08:00
Jeff Wong
1160cf57bc
Bump base image for pups update ( #749 )
2023-10-23 13:08:42 -07:00
Jeff Wong
78bb83b72a
Bump default base image to 2.0.20231023-1613 ( #748 )
...
Updates latest version of pups, allowing --tags and --skip-tags arguments
2023-10-23 11:35:30 -07:00
Andrew Schleifer
fed879dff5
Bump default base image to discourse/base:2.0.20231004-0028
2023-10-04 15:53:20 +08:00
Leonardo Mosquera
5651ff1c0e
Bump default base image to discourse/base:2.0.20230825-1850 ( #731 )
2023-08-28 15:12:24 -03:00
Andrew Schleifer
58eada7864
Bump default base image to discourse/base:2.0.20230711-0100
2023-07-11 14:23:06 +08:00
Andrew Schleifer
984d5495ed
Bump default base image to discourse/base:2.0.20230703-0055
2023-07-03 17:55:26 +08:00
David Taylor
225c3d0389
Bump default base image to 2.0.20230502-0058 ( #715 )
2023-05-02 15:55:16 +01:00
Andrew Schleifer
c4ff0d122e
Bump default base image to discourse/base:2.0.20230420-0104
2023-04-24 10:21:50 +08:00
Rafael dos Santos Silva
d54cc57f5f
DEV: Wait up to 10 minutes for safe PG stop ( #709 )
...
Over the years we had LOTS of cases of PostgreSQL instances that weren't stopped properly. This gives PG more time to handle it's shutdown cleanly on the worst case, but will still shutdown fast in normal cases.
2023-04-19 17:02:28 -03:00
Alan Guo Xiang Tan
3d317b7f58
Bump default base image to run Ruby 3.2.2 as default
...
Ruby 3.2.2 was released with a two security fixes. While the security
fixes have been assessed to have low impact on Discourse, we still want
to get the upgrade in as a preventive measure.
2023-04-10 09:07:00 +08:00
David Taylor
4f610e7b5c
Remove stable-specific image ( #700 )
...
This was only introduced as a temporary solution for Discourse 2.8, which is now EOL
2023-04-04 10:05:11 +01:00
Gerhard Schlager
01f80524b8
Bump base image to support partial clone ( #695 )
2023-03-13 15:31:22 +01:00
Rafael dos Santos Silva
4810f76dcc
Bump base image for Ruby 3.2 ( #682 )
2023-02-24 11:39:14 -03:00
Andrew Schleifer
69c82fa112
Bump default base image to discourse/base:2.0.20230217-0055
2023-02-20 11:50:18 +08:00
Jarek Radosz
67690fe645
DEV: Remove `Press any key` from arm64 path ( #675 )
2023-02-16 12:07:09 +01:00
Rafael dos Santos Silva
cdc5f905a2
FIX: Relax min kernel version ( #674 ) [ci skip]
...
Users reported Discourse installing fine on kernel 4.4+.
See https://meta.discourse.org/t/kernel-version-upgrade-required-when-manually-updating-discourse/253756?u=falco
2023-02-03 16:47:47 -03:00
Rafael dos Santos Silva
b952c711a1
Add kernel version check ( #673 ) [ci skip]
...
On Ruby 3.1 there is a `RuntimeException` when calling `Random.urandom` on platforms where it's not properly implemented, which includes people running Ubuntu 14.04 with kernel 3.13.
See
https://meta.discourse.org/t/docker-build-broken-site-down/252047
https://meta.discourse.org/t/undefined-method-deprecated-for-nil-nilclass-on-rebuild/251711
https://meta.discourse.org/t/discourse-update-error/253197
https://meta.discourse.org/t/bootstrap-failure-during-most-recent-upgrade/253424
2023-01-31 15:31:02 -03:00
Rafael dos Santos Silva
445346caf5
Bump base image for ImageMagick SVG fix
2023-01-18 12:23:30 -03:00
Rafael dos Santos Silva
c5b65bbd0a
Bump stable image
2023-01-12 01:05:24 -03:00
Rafael dos Santos Silva
e948b14527
Automatic old image switch for stable
2022-12-28 12:21:49 -03:00
David Taylor
e05f79c72c
Revert "bump base image for Ruby 3.1.3" ( #653 )
...
This reverts commit 0595fc2821
.
The new image is currently incompatible with the Discourse stable branch.
2022-12-28 14:47:34 +00:00
Rafael dos Santos Silva
0595fc2821
bump base image for Ruby 3.1.3
2022-12-27 16:00:54 -03:00
Andrew Schleifer
ea8cb333ef
Bump default base image to discourse/base:2.0.20220818-0047
2022-08-19 08:22:45 +08:00
Andrew Schleifer
eeefdde609
Bump default base image to discourse/base:2.0.20220720-0049
2022-07-21 14:22:07 +08:00
Andrew Schleifer
7ab9e3afc7
Bump default base image to 2.0.20220621-0049
2022-06-22 10:26:08 +08:00
Gabe Pacuilla
241a42ce71
DEV: Ensure secure file permissions by default ( #627 )
...
`discourse-setup` will now ensure container definitions are
installed with `0600` permissions mode only.
`launcher` will now throw a warning when an existing container
definition is world-readable.
Also clean up leftover `launcher setup` logic which no longer exists.
Merge pre-existing logic into `check_prereqs` function.
2022-05-03 11:54:24 -04:00
Michael Brown
165ede9719
FIX: ensure the latest image is always pulled for the container we're building
...
If the user has overridden the `base_image` to something other than default, we
may not get the latest version of that image when bootstrapping.
To remedy, always pull the image to check the manifest after we parse it out.
2022-05-02 22:48:19 -04:00
Rafael dos Santos Silva
71ba9fb7b5
Always pull image on arm
2022-04-19 18:24:16 -03:00
Alan Guo Xiang Tan
2a9faf7e56
Bump default base image.
...
Pulls in b5ea6784b2
.
2022-04-13 13:16:56 +08:00
Michael Brown
e30ccb9042
CLEANUP: literally this was my own feedback on my own changes I forgot to push before merging
2022-03-31 12:28:55 -04:00
Michael Brown
db3894b509
Add label showing image creation time on commit
2022-03-30 22:47:39 -04:00
Michael Brown
d0747918e7
Cleanup code in the bootstrap function
...
I came here to do something else, but could not help cleaning up the bootstrap
code.
* add die() helper
* pull the container ID into an environment variable right away instead of
interpolating it every time
* we don't need to write out to a file prior to piping it into docker
* use $() instead of backticks
* tidied up messaging from failed docker commits
2022-03-30 22:47:39 -04:00