Skip to content

Commit 70de390

Browse files
Add note for building from -web-only images
Once possible, slim image down by building from web-only base images
1 parent af8c5d6 commit 70de390

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/push-web-only.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ jobs:
7676
# Then we can do something like:
7777
# bin/launcher build --params="version=stable" --conf-dir=./samples web_only
7878
cp ./samples/web_only.yml ./containers/web_only.yml
79+
# TODO: Uncomment when PR 966 is merged
80+
# allowing us to build from web-only images
81+
# https://github.com/discourse/discourse_docker/pull/966
82+
#echo $(grep base_image: ./templates/web.template.yml)-web-only >> ./containers/web_only.yml
7983
sed -Ei 's/^ *+#?version:.*/ version: ${{ matrix.version }}/' ./containers/web_only.yml
8084
sed -Ei '/^ *+- "templates\/web.template.yml"/a\ - "templates/offline-page.template.yml"' ./containers/web_only.yml
8185
sed -Ei 's/^ *+#- "templates\/web.ssl.template.yml"/ - "templates\/web.ssl.template.yml"/' ./containers/web_only.yml

0 commit comments

Comments
 (0)