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

Update Dockerfiles for 7.0.200 and remove PublishSingleFile #4534

Merged
merged 12 commits into from
Apr 4, 2023

Conversation

richlander
Copy link
Member

@richlander richlander commented Mar 31, 2023

I took the opportunity to clean up our Dockerfiles, including applying the PublishRelease feature (new in 7.0.200).

Replaces (most of): #4441
For: #4271

@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

Copy link
Member

@mthalman mthalman left a comment

Choose a reason for hiding this comment

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

This only applies the change to the published aspnet sample. Anyone building any of the other sample slim Dockerfiles will run into the same issue this is intended to address. Shouldn't it be applied across the board for all slim Dockerfiles for both aspnetapp and dotnetapp?

@richlander
Copy link
Member Author

That's a good point. I can do that.

@richlander richlander changed the title Remove single file publishing Update Dockerfiles for 7.0.200 and remove PublishSingleFile Apr 1, 2023
Copy link
Member

@mthalman mthalman left a comment

Choose a reason for hiding this comment

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

Update this line to fix the failing test:

if (imageData.DockerfileSuffix == "windowsservercore-iis-x64")

Comment on lines 27 to 28
* [Push container Images to Azure Container Registry](push-image-to-acr.md)
* [Push container Images to Docker Hub](push-image-to-dockerhub.md)
Copy link
Member

Choose a reason for hiding this comment

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

Nit: lowercase images

Copy link
Member

@MichaelSimons MichaelSimons left a comment

Choose a reason for hiding this comment

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

I like the simplification.

{
if (imageData.DockerfileSuffix == "windowsservercore-iis-x64")
Copy link
Member

Choose a reason for hiding this comment

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

This shouldn't be deleted. Rather, it should be updated to reflect the new filenames (i.e. windowsservercore-iis).

Co-authored-by: Matt Thalman <mthalman@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants