Skip to content

Commit cd28284

Browse files
DEV: reduce image size by using web-only image for discourse/discourse images (#1000)
Take advantage of web-only images to build discourse/discourse without postgres and redis invovled.
1 parent b81256c commit cd28284

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,7 @@ 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
79+
echo $(grep base_image: ./templates/web.template.yml)-web-only >> ./containers/web_only.yml
8380
sed -Ei 's/^ *+#?version:.*/ version: ${{ matrix.version }}/' ./containers/web_only.yml
8481
sed -Ei '/^ *+- "templates\/web.template.yml"/a\ - "templates/offline-page.template.yml"' ./containers/web_only.yml
8582
sed -Ei 's/^ *+#- "templates\/web.ssl.template.yml"/ - "templates\/web.ssl.template.yml"/' ./containers/web_only.yml

0 commit comments

Comments
 (0)