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: add ftl box command tree #1878

Merged
merged 1 commit into from
Jun 26, 2024
Merged

feat: add ftl box command tree #1878

merged 1 commit into from
Jun 26, 2024

Conversation

alecthomas
Copy link
Collaborator

There are two commands:

ftl box build <image> builds a self-contained Docker container with a set of modules.

ftl box run runs modules inside an ftl-in-a-box container (currently does nothing).

There are two commands:

`ftl box build <image>` builds a self-contained Docker container with a
set of modules.

`ftl box run` runs modules inside an ftl-in-a-box container.
@alecthomas alecthomas requested review from safeer, a team and deniseli and removed request for a team June 26, 2024 05:05
@ftl-robot ftl-robot mentioned this pull request Jun 26, 2024
@alecthomas alecthomas merged commit af445a2 into main Jun 26, 2024
44 checks passed
@alecthomas alecthomas deleted the aat/ftl-in-a-box branch June 26, 2024 05:19
}
baseImage := b.BaseImage
baseImageParts := strings.Split(baseImage, ":")
if len(baseImageParts) == 2 {
Copy link
Contributor

@deniseli deniseli Jun 26, 2024

Choose a reason for hiding this comment

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

Do we need to error if len(baseImageParts) != 2 or is that a valid case?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I dunno why I did this, I just should just use url.Port() 🤦

@deniseli deniseli added the approved Marks an already closed PR as approved label Jun 26, 2024
jonathanj-square pushed a commit that referenced this pull request Jun 26, 2024
There are two commands:

`ftl box build <image>` builds a self-contained Docker container with a
set of modules.

`ftl box run` runs modules inside an ftl-in-a-box container (currently
does nothing).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Marks an already closed PR as approved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants