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: docker images for iroh #2404

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

feat: docker images for iroh #2404

wants to merge 9 commits into from

Conversation

Arqu
Copy link
Collaborator

@Arqu Arqu commented Jun 24, 2024

Description

Breaking Changes

Notes & open questions

Change checklist

  • Self-review.
  • Documentation updates if relevant.
  • Tests if relevant.
  • All breaking changes documented.

@Arqu Arqu self-assigned this Jun 24, 2024
Copy link
Collaborator Author

@Arqu Arqu left a comment

Choose a reason for hiding this comment

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

Also to make this easy to connect to other services on the local host, best bet is to run in network mode host.

Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated
# USER nonroot
# expose the default ports
EXPOSE 4433 8000 9090
ENTRYPOINT ["./iroh start"]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Adjust this line for alternate configs or start cmds.

@dignifiedquire
Copy link
Contributor

@Arqu once we merge this, can we automate it, to publish this to dockerhub on release?

Dockerfile Outdated
RUN cargo build --bin iroh --release --all-features

### Final Image
FROM ubuntu:latest as iroh
Copy link
Contributor

Choose a reason for hiding this comment

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

can we switch this to alpine?

Copy link
Contributor

Choose a reason for hiding this comment

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

or sth else that is smaller

@dignifiedquire dignifiedquire added this to the v0.20.0 milestone Jun 28, 2024
@Arqu Arqu changed the title WIP: feat: docker image for iroh feat: docker images for iroh Jun 28, 2024
@Arqu Arqu marked this pull request as ready for review June 28, 2024 13:18
@Arqu Arqu requested a review from flub June 28, 2024 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🏗 In progress
Development

Successfully merging this pull request may close these issues.

None yet

2 participants