File tree Expand file tree Collapse file tree 4 files changed +25
-0
lines changed
Expand file tree Collapse file tree 4 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ temp
Original file line number Diff line number Diff line change 1+ ARG DISCOURSE_VERSION="2.0.20251003-1437"
2+ FROM discourse/base:${DISCOURSE_VERSION}
Original file line number Diff line number Diff line change 11# discourse-docker
22Pretendo instance of discourse-docker, to make it a little more friendly to deploy as a container
3+
4+ Todo: figure out how to run this. No idea whats going on
5+
6+ Maybe we should just use the launcher completely:
7+ - Make a web-only config file: ` web-only.yml `
8+ - ` launcher bootstrap web-only --skip-prereqs ` -> build an image
9+ - ` launcher start-cmd web-only --skip-prereqs ` -> get start cmd
10+ - extract image name from start-cmd
11+ - ` docker push IMAGE_NAME `
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Download deps
4+ rm -rf temp & > /dev/null
5+ mkdir temp & > /dev/null
6+ git clone https://github.com/discourse/discourse_docker temp/repo & > /dev/null
7+
8+ # Get base version
9+ image_line=$( grep ' ^image=' temp/repo/launcher)
10+ version=" ${image_line##*: } "
11+ version=" ${version% \" } "
12+
13+ printf $version
You can’t perform that action at this time.
0 commit comments