Skip to content

Conversation

@jaredLunde
Copy link
Contributor

  • cache dotnet restore
  • include binary and dotnet root in runtime image (the binary needs the dotnet runtime)
  • add internationalization apt package by default

@railway-app
Copy link

railway-app bot commented Mar 27, 2025

🚅 Environment railpack-pr-126 in railpack has no services deployed.

@railway-app railway-app bot temporarily deployed to railpack-pr-126 March 27, 2025 18:31 Destroyed
@railway-app railway-app bot temporarily deployed to railpack-pr-126 March 27, 2025 18:40 Destroyed
@railway-app railway-app bot temporarily deployed to railpack-pr-126 March 27, 2025 18:42 Destroyed
@railway-app railway-app bot temporarily deployed to railpack-pr-126 April 22, 2025 02:56 Destroyed
@railway-app railway-app bot temporarily deployed to railpack-pr-126 April 25, 2025 19:44 Destroyed
@railway-app railway-app bot temporarily deployed to railpack-pr-126 June 16, 2025 04:20 Destroyed
@iloveitaly
Copy link
Collaborator

@jaredLunde this looks like an awesome change and I'd love to get it merged in. Would you mind rebasing on master? Thanks!

This was referenced Sep 2, 2025
@jaredLunde
Copy link
Contributor Author

blegh, struggling to update snapshots on the hotel wifi for some reason

@danjrwalsh
Copy link

Thanks for your work on this, excited to see this get merged!

Quick question - any reason why 6 is the default version? I know it was the default version in Nixpacks but .NET 6 has been EOL since Nov 2024. .NET 8 has been the most recent LTS for almost 2 years now, which itself is soon to be replaced by .NET 10 in 2 months. Probably makes sense to have the most recent LTS be the default version?

@jaredLunde
Copy link
Contributor Author

Thanks for your work on this, excited to see this get merged!

Quick question - any reason why 6 is the default version? I know it was the default version in Nixpacks but .NET 6 has been EOL since Nov 2024. .NET 8 has been the most recent LTS for almost 2 years now, which itself is soon to be replaced by .NET 10 in 2 months. Probably makes sense to have the most recent LTS be the default version?

@danjrwalsh It's been 6 months now but if I had to guess I copy/pasted from Nixpacks. Can update.

Copy link
Collaborator

@iloveitaly iloveitaly left a comment

Choose a reason for hiding this comment

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

@coffee-cup left my comments on the PR. All of them are pretty minor—I think we should merge and I can handle all of the comments in a follow-up PR.


[ApiController]
[Route("[controller]")]
public class WeatherForecastController : ControllerBase
Copy link
Collaborator

Choose a reason for hiding this comment

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

it doesn't look like this is used in the app entrypoint, can we remove?

)

const (
DEFAULT_DOTNET_VERSION = "6.0.428"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could we bump this to the latest LTS version?

func (p *DotnetProvider) Build(ctx *generate.GenerateContext, build *generate.CommandStepBuilder) {
maps.Copy(build.Variables, p.GetEnvVars(ctx))
build.AddCommands([]plan.Command{
plan.NewCopyCommand("."),
Copy link
Collaborator

Choose a reason for hiding this comment

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

we should use NewLocalLayer which ensures that .dockerignore is respected


public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);

public string? Summary { get; set; }
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think this file is used either

@iloveitaly iloveitaly requested a review from coffee-cup October 18, 2025 20:38
@iloveitaly iloveitaly mentioned this pull request Oct 27, 2025
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.

4 participants