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

Remove scripts #4

Closed
wants to merge 1 commit into from
Closed

Remove scripts #4

wants to merge 1 commit into from

Conversation

ahmetb
Copy link
Contributor

@ahmetb ahmetb commented Nov 18, 2015

No need for these in the automatic build mode.

@@ -1,24 +0,0 @@
#!/usr/bin/env bash
Copy link
Member

Choose a reason for hiding this comment

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

Please do not remove this script as it is used for testing purposes. It needs to be updated do reflect the Microsoft/dotnet docker hub.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Dan is setting up automated build, these won't be possible to run. Also it's only 2 people who can run these commands, better keep it to yourself to put it right on the root dir of the project.

Copy link
Member

Choose a reason for hiding this comment

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

publish.sh can go but I don't understand why build.sh wouldn't be possible to run. Can you explain?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@MichaelSimons because there's no point of keeping build.sh. First reason is, everyone knows docker build -t. Seconds reason is, once it's on Docker Hub people will just pull the image instead of building it from this repo (also, they should not, because what's on Docker Hub is more secure than their local and outdated copy of this Dockerfile).

Copy link
Member

Choose a reason for hiding this comment

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

@ahmetalpbalkan we are looking at this from two different view points. I am looking at it from a development/test/ci perspective while you are looking at it from a docker consumer. From a development perspective it is extremely useful as it builds all of the images with the appropriate tags so that they can be tested before pushing. Eventually we will hook up an official CI. You in essence have similar scripts in the aspnet repo. I believe public consumers won't get hung up on this script until we convert it over to CI.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Still couldn't get your point. If the image doesn't build, Docker Hub build will show the build as failed and you won't be able to release the tag.

Having a script that people would neither understand or nor use in the root of the repo doesn't help with anything. Also that script does not even have a non-zero exit code when something in it fails (i.e. it's not strict bash mode).

Copy link
Member

Choose a reason for hiding this comment

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

@ahmetalpbalkan as a developer, if you make a change to the Dockerfile, you would like to build the all of the images with all of the tags locally and test your changes before committing. This is where the build script becomes useful.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah that's just called "docker build ." You don't need a file for that, everyone who would contribute to this image would know this. Please write documentation instead.

Copy link
Member

Choose a reason for hiding this comment

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

@ahmetalpbalkan please resolve conflicts so I can merge this pull request.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am mobile now, feel free to take over and delete the files. Closing.

@ahmetb ahmetb closed this Nov 18, 2015
MichaelSimons added a commit that referenced this pull request May 22, 2018
# This is the 1st commit message:

Fixups for merging into nightly

# The commit message #2 will be skipped:

# Update nightly SDK to 2.1.300-rtm-008823 (#519)
#

# The commit message #3 will be skipped:

# Update nightly SDK to 2.1.300-rtm-008823 (#538)
#

# The commit message #4 will be skipped:

# Remove 2.0-arm preview images (#537)
#

# The commit message #5 will be skipped:

# Update nightly SDK to 2.1.300-rtm-008838 (#539)
#

# The commit message #6 will be skipped:

# Update nightly SDK to 2.1.300-rtm-008866 (#542)
#
MichaelSimons added a commit that referenced this pull request Jan 22, 2019
# This is the 1st commit message:

Move nightly images to MCR

# The commit message #2 will be skipped:

# Build changes

# The commit message #3 will be skipped:

# WIP

# The commit message #4 will be skipped:

# Build tweaks

# The commit message #5 will be skipped:

# Test updates

# The commit message #6 will be skipped:

# tweaks

# The commit message #7 will be skipped:

# Update image-builder
MichaelSimons referenced this pull request in MichaelSimons/dotnet-docker Aug 23, 2019
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.

2 participants