Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Build:
# docker build -t discourse/ruby:3.3-bookworm-slim --build-arg DEBIAN_RELEASE=bookworm --build-arg RUBY_VERSION=3.3.3 .
#
# You are not expected to build and push this Docker image by hand. This is done by the `build` Github Actions workflow.
#
ARG DEBIAN_RELEASE=
ARG RUBY_VERSION=

Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ docker pull discourse/ruby:<ruby_version>-<debian_release>-slim
Replace `<ruby_version>` and `<debian_release>` with the desired versions. See https://hub.docker.com/r/discourse/ruby/tags
for available tags.

## Building

New versions are created by the Github action. You should use those. If you need to build a custom image for some unforeseen reason, the command would look like:

```sh
docker build -t discourse/ruby:<ruby_version>-<debian_release>-slim --build-arg DEBIAN_RELEASE=<debian_release> --build-arg RUBY_VERSION=<ruby_version> .
```

## License

This repository is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.
Loading