riisi

Results 25 comments of riisi

@ronaldohoch This sounds like https://stackoverflow.com/questions/24319662/from-inside-of-a-docker-container-how-do-i-connect-to-the-localhost-of-the-mach

Confirming that downgrading to 1.2.1 fixes it for me. Here's my config if it helps anyone. ```ts // Msal Configurations const config = { auth: { authority: `https://login.microsoftonline.com/${tenantId}`, clientId, redirectUri:...

I think I've found a workaround for this by adding the `DOCKER_HOST` to the `local_environment` `docker_env_vars`. E.g.: ``` local_environment( name="local_linux_x86", description="Localhost x86 Linux Environment", compatible_platforms=["linux_x86_64"], fallback_environment="docker_x86", docker_env_vars=["DOCKER_HOST"] ) ``` I...

Note - these are called "hidden lockfiles" in npm - https://docs.npmjs.com/cli/v9/configuring-npm/package-lock-json#hidden-lockfiles

Thanks for reviewing so quickly! It will probably take me a while to go back through everything. > 3. Did you consider [Install entire node project when creating node_modules digest,...

> however docker should not need to pull this image since it exists locally because it was just built by pants I would have thought when you are using the...

You may need to enable the [containerd image store](https://docs.docker.com/desktop/containerd/) (although actually that may be needed for multiplatform builds only). Running with the Pants option `--docker-build-verbose` may help troubleshoot this -...

> potential race conditions if someone else writes to the same tag. Wondering if there's a solution to this by using Pants to generate a deterministic hash in the tag.

The deterministic hash part should already be [possible](https://www.pantsbuild.org/docs/tagging-docker-images#using-env-vars-to-include-dynamic-data-in-tags). I'm not sure re. the rest. Probably worth asking / searching in [Slack](https://www.pantsbuild.org/docs/getting-help#slack) for these types of questions.

Fixed. Yes, I agree it would be nice to have a default (or even some recommendations) to avoid this.