discourse_docker/image
Rafael dos Santos Silva 4d0e712b9e
FIX: Adapt jemalloc page size for pi5 bookworm PAGESIZE (#774)
Debian Bookwork on Pi 5 uses 64k pages, so we need to adapt the jemalloc.

This should be compatible with pi4 and older too.
2024-02-29 14:13:54 -03:00
..
base FIX: Adapt jemalloc page size for pi5 bookworm PAGESIZE (#774) 2024-02-29 14:13:54 -03:00
discourse_bench Set the right RAILS_ENV for other base images. 2019-05-03 12:52:31 +08:00
discourse_dev FEATURE: Add early support for aarch64 in dev env 2024-01-30 10:23:57 +01:00
discourse_fast_switch Revert "Revert "First pass in moving to debian"" 2019-08-19 15:17:01 -03:00
discourse_test FIX: Install plugin gems in `discourse/discourse_test` image (#758) 2023-11-23 18:12:37 +08:00
monitor MAINTAINER is deprecated, using LABEL now (#383) 2017-11-01 08:07:21 +11:00
README.md discourse/discourse moved from master to main 2021-07-19 14:32:23 -03:00
auto_build.rb FEATURE: Add early support for aarch64 in dev env 2024-01-30 10:23:57 +01:00

README.md

Docker images

Building new images

To build a new image, just run ruby auto_build.rb image-name. The build process will build a local image with a predefined tag.

Images and tag names are defined here.

A note about --squash: By default we squash the images we serve on Docker Hub. You will need to enable experimental features on your Docker daemon for that.

More about the images

See both auto_build.rb and the respective Dockerfiles for details on how all of this happens.

base (discourse/base)

All of the dependencies for running Discourse. This includes runit, postgres, nginx, ruby, imagemagick, etc. It also includes the creation of the "discourse" user and /var/www directory.

discourse_dev (discourse/discourse_dev)

Adds redis and postgres just like the "standalone" template for Discourse in order to have an all-in-one container for development. Note that you are expected to mount your local discourse source directory to /src. See the README in GitHub's discourse/bin/docker for utilities that help with this.

Note that the discourse user is granted "sudo" permission without asking for a password in the discourse_dev image. This is to facilitate the command-line Docker tools in discourse proper that run commands as the discourse user.

discourse_test (discourse/discourse_test)

Builds on the discourse image and adds testing tools and a default testing entrypoint.

discourse_bench (discourse/discourse_bench)

Builds on the discourse_test image and adds benchmark testing.

discourse_fast_switch (discourse/discourse_fast_switch)

Builds on the discourse image and adds the ability to easily switch versions of Ruby.