Skip to content

fix/docker environment#254

Open
endersonmaia wants to merge 17 commits intomainfrom
fix/docker-environment
Open

fix/docker environment#254
endersonmaia wants to merge 17 commits intomainfrom
fix/docker-environment

Conversation

@endersonmaia
Copy link

@endersonmaia endersonmaia commented Feb 24, 2026

I did a refactor:

  • abusing of multi-stage build strategy
  • build-args to define main software versions used
  • use binary releases for artifacts instead of curl ../install.sh | bash

/close #253

@endersonmaia endersonmaia changed the base branch from main to release/2.0.x February 24, 2026 19:39
@endersonmaia endersonmaia force-pushed the fix/docker-environment branch from c500404 to f90be98 Compare February 24, 2026 19:43
@endersonmaia endersonmaia changed the base branch from release/2.0.x to main February 24, 2026 19:43
@endersonmaia endersonmaia force-pushed the fix/docker-environment branch 2 times, most recently from 8fcbb0f to be4b250 Compare February 24, 2026 21:15
@endersonmaia endersonmaia force-pushed the fix/docker-environment branch from be4b250 to a2c6d5b Compare February 24, 2026 21:26
@endersonmaia endersonmaia self-assigned this Feb 25, 2026
@endersonmaia endersonmaia marked this pull request as ready for review February 25, 2026 11:36
@endersonmaia
Copy link
Author

I did small commits so reviewers can grasp individual improvements, but feel free to squash this into a single commit when merging, for a cleaner history.

@endersonmaia
Copy link
Author

I made the build work, but I still don't know what's the gohal of the Dockerfile in the development workflow.

According to the README, I'd have to use just run-dockered <command> but I don't think it's useful.

@guidanoli
Copy link
Collaborator

When I run just build-docker-image, it gets stuck in this step:

 => [stage-5 14/22] RUN just -f prt/contracts/justfile install-deps
 => => #    │                                           │                                                                                                                                                  
 => => #    │    Update available! 10.7.0 → 10.30.2.    │                                                                                                                                                  
 => => #    │   Changelog: https://pnpm.io/v/10.30.2    │                                                                                                                                                  
 => => #    │   To update, run: pnpm add -g @pnpm/exe   │                                                                                                                                                  
 => => #    │                                           │                                                                                                                                                  
 => => #    ╰───────────────────────────────────────────╯

@endersonmaia
Copy link
Author

When I run just build-docker-image, it gets stuck in this step:

 => [stage-5 14/22] RUN just -f prt/contracts/justfile install-deps
 => => #    │                                           │                                                                                                                                                  
 => => #    │    Update available! 10.7.0 → 10.30.2.    │                                                                                                                                                  
 => => #    │   Changelog: https://pnpm.io/v/10.30.2    │                                                                                                                                                  
 => => #    │   To update, run: pnpm add -g @pnpm/exe   │                                                                                                                                                  
 => => #    │                                           │                                                                                                                                                  
 => => #    ╰───────────────────────────────────────────╯

Looks like it's waiting for some interactive confirmation, like Yes/No.

@endersonmaia
Copy link
Author

@guidanoli I've sent a fix for pnpm install freeze.

@guidanoli
Copy link
Collaborator

I made the build work, but I still don't know what's the gohal of the Dockerfile in the development workflow.

The goal is run things in an environment isolated from the host.
You'd do just run-dockered bash and start testing/coding.

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.

Docker environment is faulty

2 participants