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

feat(su): use mutlistage builds for su #657

Merged
merged 4 commits into from
May 6, 2024

Conversation

dtfiedler
Copy link
Contributor

@dtfiedler dtfiedler commented Apr 30, 2024

Allows you to build the binary and create a runnable image from the same docker file. Refer to README for how to target the binary.

This removes the need for RunDockerfile and RunRouterDockerfile as the runner image will create the desired server based on the configuration provided via docker flags, environment variables and runtime args.

Example:

cp .env.example .env
docker build . -t su-runner
docker run  --env-file .env -p 9000:9000 -v ./.wallet.json:/app/.wallet/json su-runner su 9000

dtfiedler added 4 commits April 30, 2024 14:26
Allows you to build the binary and create a runnable image from the same docker file. Refer to README for how to target both.
@TillaTheHun0
Copy link
Member

@VinceJuliano does this look kosher to you?

@VinceJuliano
Copy link
Collaborator

Yes looks good will merge it

@VinceJuliano VinceJuliano merged commit c7da84c into permaweb:main May 6, 2024
2 checks passed
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.

3 participants