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

ts: Add Dockerfile and make targets #551

Merged
merged 3 commits into from
Dec 19, 2024
Merged

ts: Add Dockerfile and make targets #551

merged 3 commits into from
Dec 19, 2024

Conversation

cdecker
Copy link
Collaborator

@cdecker cdecker commented Dec 10, 2024

Just some followup fixes, and tweaks. It should be workable now.

@cdecker cdecker force-pushed the 202448-testserver-dx branch from c05addc to 00ce181 Compare December 10, 2024 17:58
@cdecker cdecker force-pushed the 202448-testserver-dx branch from 00ce181 to c58a396 Compare December 18, 2024 10:18
@cdecker cdecker enabled auto-merge (rebase) December 19, 2024 21:53
We want to ensure that we can run both inside and outside the docker
container, thus we better make sure that the repo inside and outside
of the docker container use the same paths and permissions.
We were mapping the ports and the source into the docker image, but we
were not mapping the certs out into the host. Without this the host
could not connect as it had no valid certificates to check against.
When mounting in the repository, along with its target directory, we
might have some issue if the host arch does not match the guest
arch. We'd either use the host binary on the guest arch, or we end up
compiling the guest into the host target dir, meaning the host won't
work anymore.

By moving the target dir into a separate directory we then don't touch
the hosts' binaries.
@cdecker cdecker force-pushed the 202448-testserver-dx branch from c58a396 to 88b9239 Compare December 19, 2024 21:53
@cdecker cdecker merged commit 31534cd into main Dec 19, 2024
12 checks passed
@cdecker cdecker deleted the 202448-testserver-dx branch December 19, 2024 22:06
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.

1 participant