Skip to content

Fix docker-compose.yaml.local args - #37

Open
lifeisafractal wants to merge 1 commit into
remiheens:mainfrom
lifeisafractal:fix-example-docker-compose
Open

Fix docker-compose.yaml.local args#37
lifeisafractal wants to merge 1 commit into
remiheens:mainfrom
lifeisafractal:fix-example-docker-compose

Conversation

@lifeisafractal

Copy link
Copy Markdown
Contributor

The Dockerfile for app expects TARGETOS and TARGETARCH not GOOS and GOARCH.

I'm not 100% sure if I'm missing something or not here, bu I needed this modification for things to work. I thought I'd open a PR and we can have a discussion in the comments if I'm off base.

The Dockerfile for app expects TARGETOS and TARGETARCH not GOOS and
GOARCH.
@remiheens

remiheens commented Feb 18, 2024

Copy link
Copy Markdown
Owner

hi @lifeisafractal ,

This values is used by the docker building script, in "docker buildx build" section.
But, You're right, the args used in docker-compose doesn't work because it's not consistent.

@lifeisafractal

Copy link
Copy Markdown
Contributor Author

@remiheens ah, makes sense. I'm not super familiar with Go, let alone cross compiling it :). Any suggestions for the best way to fix this? I'm happy to implement, test, and open a PR if that helps.

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