Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single container test #66

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Single container test #66

wants to merge 3 commits into from

Conversation

saevarom
Copy link
Collaborator

Combining frontend and web containers in a single image, as discussed in #64.

@lb- could you check out this branch and try it out?

@lb-
Copy link
Member

lb- commented Oct 17, 2023

This is awesome ! thank you @saevarom

I followed these steps...

  1. Checked out the branch
  2. make down stop and remove all containers
  3. make build build the new containers
  4. make start Note: At this point my node_modules were still out of date
  5. In another tab make ssh-wagtail
  6. In the SSH session, I ran npm install - after lots of noise in the main container it all finished and my packages were updated
  7. I also restarted the containers to check and it's correctly kept the new node_modules changes

Output of the updated node modules.

➜ make ssh-wagtail
docker-compose exec -w /code/wagtail web bash
WARN[0000] The "PYTHONPATH" variable is not set. Defaulting to a blank string. 
root@14969248fee8:/code/wagtail# cat ./node_modules/@hotwired/stimulus/package.json
{
  "name": "@hotwired/stimulus",
  "version": "3.2.2",

One point of feedback, the Webpack updates are incredibly noisy, it appears to be showing % progress into stdout but this shows up in the Docker container logs pass through as updates for every percentage change.

 assets by status 12.6 MiB [cached] 97 assets
web  | cached modules 4.07 MiB (javascript) 24.8 KiB (css/mini-extract) 127 KiB (runtime) [cached] 761 modules
web  | orphan modules 839 KiB [orphan] 1 module
web  | cacheable modules 50 bytes (javascript) 239 KiB (css/mini-extract)
web  |   ./wagtail/admin/static_src/wagtailadmin/scss/core.scss 50 bytes [built]
web  |   css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[3]!./wagtail/admin/static_src/wagtailadmin/scss/core.scss 239 KiB [built]
web  | webpack compiled successfully in 2322 ms
web  | <s> [webpack.Progress] 99% cache store build dependencies
web  | <s> [webpack.Progress] 99% cache store build dependencies
web  | <s> [webpack.Progress] 99% cache begin idle
web  | <s> [webpack.Progress] 99% cache begin idle
web  | <s> [webpack.Progress] 100% 
web  | 
web  | <s> [webpack.Progress] 0% 
web  | 
web  | <s> [webpack.Progress] 1% cache end idle
web  | <s> [webpack.Progress] 1% cache end idle
web  | <s> [webpack.Progress] 3% setup watch run
web  | <s> [webpack.Progress] 3% setup watch run webpack-cli
web  | <s> [webpack.Progress] 3% setup watch run ts-loader
web  | <s> [webpack.Progress] 3% setup watch run
web  | <s> [webpack.Progress] 4% setup normal module factory
web  | <s> [webpack.Progress] 4% setup normal module factory
web  | <s> [webpack.Progress] 5% setup context module factory
web  | <s> [webpack.Progress] 5% setup context module factory
web  | <s> [webpack.Progress] 6% setup before compile
web  | <s> [webpack.Progress] 6% setup before compile ProgressPlugin
web  | <s> [webpack.Progress] 6% setup before compile
web  | <s> [webpack.Progress] 7% setup compile
web  | <s> [webpack.Progress] 7% setup compile ExternalsPlugin
web  | <s> [webpack.Progress] 7% setup compile ExternalsPlugin
web  | <s> [webpack.Progress] 7% setup compile
web  | <s> [webpack.Progress] 8% setup compilation
web  | <s> [webpack.Progress] 8% setup compilation mini-css-extract-plugin
web  | <s> [webpack.Progress] 8% setup compilation CopyPlugin
web  | <s> [webpack.Progress] 8% setup compilation ArrayPushCallbackChunkFormatPlugin
web  | <s> [webpack.Progress] 8% setup compilation JsonpChunkLoadingPlugin
web  | <s> [webpack.Progress] 8% setup compilation StartupChunkDependenciesPlugin
web  | <s> [webpack.Progress] 8% setup compilation ImportScriptsChunkLoadingPlugin
web  | <s> [webpack.Progress] 8% setup compilation FetchCompileWasmPlugin
web  | <s> [webpack.Progress] 8% setup compilation FetchCompileAsyncWasmPlugin
web  | <s> [webpack.Progress] 8% setup compilation WorkerPlugin
web  | <s> [webpack.Progress] 8% setup compilation SplitChunksPlugin
web  | <s> [webpack.Progress] 8% setup compilation ResolverCachePlugin
web  | <s> [webpack.Progress] 8% setup compilation
web  | <s> [webpack.Progress] 9% setup compilation
web  | <s> [webpack.Progress] 9% setup compilation ProgressPlugin
web  | <s> [webpack.Progress] 9% setup compilation mini-css-extract-plugin
web  | <s> [webpack.Progress] 9% setup compilation ChunkPrefetchPreloadPlugin
web  | <s> [webpack.Progress] 9% setup compilation ModuleInfoHeaderPlugin
web  | <s> [webpack.Progress] 9% setup compilation EvalSourceMapDevToolPlugin
web  | <s> [webpack.Progress] 9% setup compilation JavascriptModulesPlugin
web  | <s> [webpack.Progress] 9% setup compilation JsonModulesPlugin
web  | <s> [webpack.Progress] 9% setup compilation AssetModulesPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation EntryPlugin
web  | <s> [webpack.Progress] 9% setup compilation RuntimePlugin
web  | <s> [webpack.Progress] 9% setup compilation InferAsyncModulesPlugin
web  | <s> [webpack.Progress] 9% setup compilation DataUriPlugin
web  | <s> [webpack.Progress] 9% setup compilation FileUriPlugin
web  | <s> [webpack.Progress] 9% setup compilation CompatibilityPlugin
web  | <s> [webpack.Progress] 9% setup compilation HarmonyModulesPlugin
web  | <s> [webpack.Progress] 9% setup compilation AMDPlugin
web  | <s> [webpack.Progress] 9% setup compilation RequireJsStuffPlugin
web  | <s> [webpack.Progress] 9% setup compilation CommonJsPlugin
web  | <s> [webpack.Progress] 9% setup compilation LoaderPlugin
web  | <s> [webpack.Progress] 9% setup compilation LoaderPlugin
web  | <s> [webpack.Progress] 9% setup compilation NodeStuffPlugin
web  | <s> [webpack.Progress] 9% setup compilation APIPlugin
web  | <s> [webpack.Progress] 9% setup compilation ExportsInfoApiPlugin
web  | <s> [webpack.Progress] 9% setup compilation WebpackIsIncludedPlugin
web  | <s> [webpack.Progress] 9% setup compilation ConstPlugin
web  | <s> [webpack.Progress] 9% setup compilation UseStrictPlugin
web  | <s> [webpack.Progress] 9% setup compilation RequireIncludePlugin
web  | <s> [webpack.Progress] 9% setup compilation RequireEnsurePlugin
web  | <s> [webpack.Progress] 9% setup compilation RequireContextPlugin
web  | <s> [webpack.Progress] 9% setup compilation ImportPlugin
web  | <s> [webpack.Progress] 9% setup compilation RequireContextPlugin
web  | <s> [webpack.Progress] 9% setup compilation SystemPlugin
web  | <s> [webpack.Progress] 9% setup compilation ImportMetaPlugin
web  | <s> [webpack.Progress] 9% setup compilation URLPlugin
web  | <s> [webpack.Progress] 9% setup compilation DefaultStatsFactoryPlugin
web  | <s> [webpack.Progress] 9% setup compilation DefaultStatsPresetPlugin
web  | <s> [webpack.Progress] 9% setup compilation DefaultStatsPrinterPlugin
web  | <s> [webpack.Progress] 9% setup compilation JavascriptMetaInfoPlugin
web  | <s> [webpack.Progress] 9% setup compilation EnsureChunkConditionsPlugin
web  | <s> [webpack.Progress] 9% setup compilation RemoveEmptyChunksPlugin
web  | <s> [webpack.Progress] 9% setup compilation MergeDuplicateChunksPlugin
web  | <s> [webpack.Progress] 9% setup compilation SideEffectsFlagPlugin
web  | <s> [webpack.Progress] 9% setup compilation FlagDependencyExportsPlugin
web  | <s> [webpack.Progress] 9% setup compilation NamedModuleIdsPlugin
web  | <s> [webpack.Progress] 9% setup compilation NamedChunkIdsPlugin
web  | <s> [webpack.Progress] 9% setup compilation DefinePlugin
web  | <s> [webpack.Progress] 9% setup compilation TemplatedPathPlugin
web  | <s> [webpack.Progress] 9% setup compilation RecordIdsPlugin
web  | <s> [webpack.Progress] 9% setup compilation WarnCaseSensitiveModulesPlugin
web  | <s> [webpack.Progress] 9% setup compilation ts-loader
web  | <s> [webpack.Progress] 9% setup compilation
web  | <s> [webpack.Progress] 10% building
web  | <s> [webpack.Progress] 10% building 0/1 entries 0/0 dependencies 0/0 modules
web  | <s> [webpack.Progress] 11% building 1/42 entries 45/45 dependencies 2/45 modules
web  | <s> [webpack.Progress] 12% building 2/42 entries 45/45 dependencies 4/45 modules
web  | <s> [webpack.Progress] 13% building 3/42 entries 45/45 dependencies 6/45 modules
web  | <s> [webpack.Progress] 15% building 4/42 entries 45/61 dependencies 7/45 modules
web  | <s> [webpack.Progress] 16% building 5/42 entries 117/117 dependencies 9/90 modules
web  | <s> [webpack.Progress] 17% building 6/42 entries 117/121 dependencies 12/90 modules
web  | <s> [webpack.Progress] 19% building 7/42 entries 117/121 dependencies 13/90 modules
web  | <s> [webpack.Progress] 20% building 8/42 entries 117/121 dependencies 14/90 modules
web  | <s> [webpack.Progress] 21% building 9/42 entries 117/121 dependencies 15/90 modules
web  | <s> [webpack.Progress] 23% building 10/42 entries 117/121 dependencies 16/90 modules
web  | <s> [webpack.Progress] 24% building 11/42 entries 117/141 dependencies 19/90 modules
web  | <s> [webpack.Progress] 25% building 12/42 entries 117/143 dependencies 21/90 modules
web  | <s> [webpack.Progress] 27% building 13/42 entries 117/154 dependencies 23/90 modules
web  | <s> [webpack.Progress] 28% building 14/42 entries 117/154 dependencies 26/90 modules
web  | <s> [webpack.Progress] 28% building 15/42 entries 117/222 dependencies 31/90 modules
web  | <s> [webpack.Progress] 28% building 16/42 entries 117/223 dependencies 34/90 modules
web  | <s> [webpack.Progress] 32% building 17/42 entries 223/223 dependencies 51/143 modules
web  | <s> [webpack.Progress] 33% building 18/42 entries 223/223 dependencies 52/143 modules
web  | <s> [webpack.Progress] 34% building 19/42 entries 223/223 dependencies 53/143 modules
web  | <s> [webpack.Progress] 36% building 20/42 entries 223/223 dependencies 54/143 modules
web  | <s> [webpack.Progress] 37% building 21/42 entries 223/223 dependencies 55/143 modules
web  | <s> [webpack.Progress] 38% building 22/42 entries 223/223 dependencies 56/143 modules
web  | <s> [webpack.Progress] 40% building 23/42 entries 223/223 dependencies 56/143 modules
web  | <s> [webpack.Progress] 41% building 24/42 entries 223/223 dependencies 56/143 modules
web  | <s> [webpack.Progress] 42% building 25/42 entries 223/223 dependencies 57/143 modules
web  | <s> [webpack.Progress] 44% building 26/42 entries 223/223 dependencies 58/143 modules
web  | <s> [webpack.Progress] 45% building 27/42 entries 223/223 dependencies 59/143 modules
web  | <s> [webpack.Progress] 45% building 28/42 entries 223/223 dependencies 60/143 modules
web  | <s> [webpack.Progress] 45% building 29/42 entries 223/223 dependencies 61/143 modules
web  | <s> [webpack.Progress] 45% building 30/42 entries 223/223 dependencies 62/143 modules
web  | <s> [webpack.Progress] 45% building 31/42 entries 223/223 dependencies 63/143 modules
web  | <s> [webpack.Progress] 45% building 32/42 entries 223/223 dependencies 64/143 modules
web  | <s> [webpack.Progress] 45% building 33/42 entries 223/223 dependencies 65/143 modules
web  | <s> [webpack.Progress] 45% building 34/42 entries 223/223 dependencies 66/143 modules
web  | <s> [webpack.Progress] 45% building 35/42 entries 223/223 dependencies 67/143 modules
web  | <s> [webpack.Progress] 58% building 36/42 entries 302/302 dependencies 216/159 modules
web  | <s> [webpack.Progress] 58% building 37/42 entries 302/321 dependencies 321/159 modules
web  | <s> [webpack.Progress] 61% building 38/42 entries 324/324 dependencies 401/162 modules
web  | <s> [webpack.Progress] 62% building 39/42 entries 331/331 dependencies 445/165 modules
web  | <s> [webpack.Progress] 62% building 40/42 entries 331/331 dependencies 483/165 modules
web  | <s> [webpack.Progress] 63% building 41/42 entries 331/331 dependencies 485/165 modules
web  | <s> [webpack.Progress] 65% building 42/42 entries 343/343 dependencies 499/165 modules
web  | <s> [webpack.Progress] 65% building
web  | <s> [webpack.Progress] 69% building finish
web  | <s> [webpack.Progress] 69% building finish
web  | <s> [webpack.Progress] 70% sealing finish module graph
web  | <s> [webpack.Progress] 70% sealing finish module graph ResolverCachePlugin
web  | <s> [webpack.Progress] 70% sealing finish module graph InferAsyncModulesPlugin
web  | <s> [webpack.Progress] 70% sealing finish module graph FlagDependencyExportsPlugin
web  | <s> [webpack.Progress] 70% sealing finish module graph
web  | <s> [webpack.Progress] 70% sealing plugins
web  | <s> [webpack.Progress] 70% sealing plugins WarnCaseSensitiveModulesPlugin
web  | <s> [webpack.Progress] 70% sealing plugins
web  | <s> [webpack.Progress] 71% sealing dependencies optimization
web  | <s> [webpack.Progress] 71% sealing dependencies optimization SideEffectsFlagPlugin
web  | <s> [webpack.Progress] 71% sealing dependencies optimization
web  | <s> [webpack.Progress] 71% sealing after dependencies optimization
web  | <s> [webpack.Progress] 71% sealing after dependencies optimization
web  | <s> [webpack.Progress] 72% sealing chunk graph
web  | <s> [webpack.Progress] 72% sealing chunk graph
web  | <s> [webpack.Progress] 73% sealing after chunk graph
web  | <s> [webpack.Progress] 73% sealing after chunk graph
web  | <s> [webpack.Progress] 73% sealing optimizing
web  | <s> [webpack.Progress] 73% sealing optimizing
web  | <s> [webpack.Progress] 74% sealing module optimization
web  | <s> [webpack.Progress] 74% sealing module optimization
web  | <s> [webpack.Progress] 75% sealing after module optimization
web  | <s> [webpack.Progress] 75% sealing after module optimization
web  | <s> [webpack.Progress] 75% sealing chunk optimization
web  | <s> [webpack.Progress] 75% sealing chunk optimization EnsureChunkConditionsPlugin
web  | <s> [webpack.Progress] 75% sealing chunk optimization RemoveEmptyChunksPlugin
web  | <s> [webpack.Progress] 75% sealing chunk optimization MergeDuplicateChunksPlugin
web  | <s> [webpack.Progress] 75% sealing chunk optimization SplitChunksPlugin
web  | <s> [webpack.Progress] 75% sealing chunk optimization RemoveEmptyChunksPlugin
web  | <s> [webpack.Progress] 75% sealing chunk optimization
web  | <s> [webpack.Progress] 76% sealing after chunk optimization
web  | <s> [webpack.Progress] 76% sealing after chunk optimization
web  | <s> [webpack.Progress] 77% sealing module and chunk tree optimization
web  | <s> [webpack.Progress] 77% sealing module and chunk tree optimization
web  | <s> [webpack.Progress] 77% sealing after module and chunk tree optimization
web  | <s> [webpack.Progress] 77% sealing after module and chunk tree optimization
web  | <s> [webpack.Progress] 78% sealing chunk modules optimization
web  | <s> [webpack.Progress] 78% sealing chunk modules optimization
web  | <s> [webpack.Progress] 78% sealing after chunk modules optimization
web  | <s> [webpack.Progress] 78% sealing after chunk modules optimization
web  | <s> [webpack.Progress] 79% sealing module reviving
web  | <s> [webpack.Progress] 79% sealing module reviving RecordIdsPlugin
web  | <s> [webpack.Progress] 79% sealing module reviving
web  | <s> [webpack.Progress] 80% sealing before module ids
web  | <s> [webpack.Progress] 80% sealing before module ids
web  | <s> [webpack.Progress] 80% sealing module ids
web  | <s> [webpack.Progress] 80% sealing module ids NamedModuleIdsPlugin
web  | <s> [webpack.Progress] 80% sealing module ids
web  | <s> [webpack.Progress] 81% sealing module id optimization
web  | <s> [webpack.Progress] 81% sealing module id optimization
web  | <s> [webpack.Progress] 82% sealing module id optimization
web  | <s> [webpack.Progress] 82% sealing module id optimization
web  | <s> [webpack.Progress] 82% sealing chunk reviving
web  | <s> [webpack.Progress] 82% sealing chunk reviving RecordIdsPlugin
web  | <s> [webpack.Progress] 82% sealing chunk reviving
web  | <s> [webpack.Progress] 83% sealing before chunk ids
web  | <s> [webpack.Progress] 83% sealing before chunk ids
web  | <s> [webpack.Progress] 84% sealing chunk ids
web  | <s> [webpack.Progress] 84% sealing chunk ids NamedChunkIdsPlugin
web  | <s> [webpack.Progress] 84% sealing chunk ids
web  | <s> [webpack.Progress] 84% sealing chunk id optimization
web  | <s> [webpack.Progress] 84% sealing chunk id optimization
web  | <s> [webpack.Progress] 85% sealing after chunk id optimization
web  | <s> [webpack.Progress] 85% sealing after chunk id optimization
web  | <s> [webpack.Progress] 86% sealing record modules
web  | <s> [webpack.Progress] 86% sealing record modules RecordIdsPlugin
web  | <s> [webpack.Progress] 86% sealing record modules
web  | <s> [webpack.Progress] 86% sealing record chunks
web  | <s> [webpack.Progress] 86% sealing record chunks RecordIdsPlugin
web  | <s> [webpack.Progress] 86% sealing record chunks
web  | <s> [webpack.Progress] 87% sealing module hashing
web  | <s> [webpack.Progress] 87% sealing module hashing
web  | <s> [webpack.Progress] 87% sealing code generation
web  | <s> [webpack.Progress] 87% sealing code generation
web  | <s> [webpack.Progress] 88% sealing runtime requirements
web  | <s> [webpack.Progress] 88% sealing runtime requirements
web  | <s> [webpack.Progress] 89% sealing hashing
web  | <s> [webpack.Progress] 89% sealing hashing
web  | <s> [webpack.Progress] 89% sealing after hashing
web  | <s> [webpack.Progress] 89% sealing after hashing
web  | <s> [webpack.Progress] 90% sealing record hash
web  | <s> [webpack.Progress] 90% sealing record hash
web  | <s> [webpack.Progress] 91% sealing module assets processing
web  | <s> [webpack.Progress] 91% sealing module assets processing
web  | <s> [webpack.Progress] 91% sealing chunk assets processing
web  | <s> [webpack.Progress] 91% sealing chunk assets processing
web  | <s> [webpack.Progress] 92% sealing asset processing
web  | <s> [webpack.Progress] 92% sealing asset processing copy-webpack-plugin
web  | <s> [webpack.Progress] 92% sealing asset processing ts-loader
web  | <s> [webpack.Progress] 92% sealing asset processing
web  | <s> [webpack.Progress] 93% sealing after asset optimization
web  | <s> [webpack.Progress] 93% sealing after asset optimization
web  | <s> [webpack.Progress] 93% sealing recording
web  | <s> [webpack.Progress] 93% sealing recording
web  | <s> [webpack.Progress] 94% sealing after seal
web  | <s> [webpack.Progress] 94% sealing after seal
web  | <s> [webpack.Progress] 95% emitting emit
web  | <s> [webpack.Progress] 95% emitting emit
web  | <s> [webpack.Progress] 98% emitting after emit
web  | <s> [webpack.Progress] 98% emitting after emit SizeLimitsPlugin
web  | <s> [webpack.Progress] 98% emitting after emit
web  | <s> [webpack.Progress] 99% done plugins
web  | <s> [webpack.Progress] 99% done plugins
web  | <s> [webpack.Progress] 99% 
web  | 
web  | assets by status 12.6 MiB [cached] 97 assets
web  | cached modules 4.07 MiB (javascript) 264 KiB (css/mini-extract) 127 KiB (runtime) [cached] 757 modules
web  | webpack compiled successfully in 117 ms
web  | <s> [webpack.Progress] 99% cache store build dependencies
web  | <s> [webpack.Progress] 99% cache store build dependencies
web  | <s> [webpack.Progress] 99% cache begin idle
web  | <s> [webpack.Progress] 99% cache begin idle
web  | <s> [webpack.Progress] 100% 

@lb-
Copy link
Member

lb- commented Oct 17, 2023

Running into a few issues, it seems that the stopping of the containers is getting stuck for me.

^CGracefully stopping... (press Ctrl+C again to force)
[+] Running 1/2
 ⠿ Container web       Error while Stopping                                                                                                                               24.1s
 ⠿ Container frontend  Stopped         
^CERRO[0145] got 3 SIGTERM/SIGINTs, forcing shutdown      
make: *** [start] Error 1

[+] Running 0/0                                                                                                                                                                 
 ⠋ Container db   Killing                                                                                                                                                  0.1s
[+] Running 1/2b  Killing                                                                                                                                                  0.1s
 ⠿ Container db   Killed                                                                                                                                                   0.5s
 ⠧ Container web  Killing                                                                                                                                                  4.8s
➜ 

A few restarts of Docker later and I am back in action but not sure if this is something that could be an issue.

@saevarom
Copy link
Collaborator Author

Yeah, I noticed that the npm stuff is really noisy.
Also, it is started as a background process which might cause problems.

I will experiment some more with this.

@lb-
Copy link
Member

lb- commented Oct 18, 2023

Just a heads up, it appears that make is not installed on this new container.

wagtail-dev on  feature/base-image-test on 🐳 v20.10.21 runs 🐙 DW 
➜ make ssh-wagtail
docker-compose exec -w /code/wagtail web bash
WARN[0000] The "PYTHONPATH" variable is not set. Defaulting to a blank string. 
root@14969248fee8:/code/wagtail# make format-server
bash: make: command not found
root@14969248fee8:/code/wagtail# exit
exit
make: *** [ssh-wagtail] Error 127

@saevarom
Copy link
Collaborator Author

Thanks, it's also missing git which is needed for some lint commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants