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

Fix/dockerfile #85

Merged
merged 4 commits into from
May 24, 2024
Merged

Fix/dockerfile #85

merged 4 commits into from
May 24, 2024

Conversation

paul-ahn-wm
Copy link

@paul-ahn-wm paul-ahn-wm commented May 23, 2024

Fixes #83
Starting with Go 1.12, some functionality of the syscall package has been moved to the golang.org/x/sys/unix package and syscall package has been deprecated.
So syscall package was replaced to golang.org/x/sys/unix package
commit hash: 5028477

The Dockerfiles were modified to function correctly, and for testing purposes, you need to use the branch where the syscall package has been replaced to golang.org/x/sys/unix package, which is currently only fix/dockerfile. Therefore, when cloning the repository at line 30, you need to add the -b fix/dockerfile option to ensure it works.
commit hash: 18c3921

While converting the syscall package to the olang.org/x/sys/unix package, an issue arose in the exitStatus function used for existing tests. Casting ExitError.Sys() to unix.WaitStatus was not feasible, leading to errors in TestT8n in t8n_test.go. To resolve this, ExitError.Sys() was replaced to ExitError.ProcessState.ExitCode()
commit hash: 1067c61

Closes #83

@paul-ahn-wm paul-ahn-wm self-assigned this May 23, 2024
@paul-ahn-wm paul-ahn-wm linked an issue May 23, 2024 that may be closed by this pull request
@egonspace egonspace self-requested a review May 23, 2024 07:14
Copy link
Collaborator

@egonspace egonspace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kai-yu-wm
Copy link

The docker-compose.yml were modified for testing.
commit hash: 3e13bd8

@paul-ahn-wm paul-ahn-wm merged commit 3782a59 into dev May 24, 2024
5 checks passed
@paul-ahn-wm paul-ahn-wm deleted the fix/dockerfile branch May 24, 2024 02:11
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.

wemix 3.0 docker build failed
3 participants