-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
fix: docker-compose point to master tag #27179
Conversation
docker-compose-non-dev.yml
Outdated
@@ -14,7 +14,7 @@ | |||
# See the License for the specific language governing permissions and | |||
# limitations under the License. | |||
# | |||
x-superset-image: &superset-image apachesuperset.docker.scarf.sh/apache/superset:${TAG:-latest} | |||
x-superset-image: &superset-image apachesuperset.docker.scarf.sh/apache/superset:${TAG:-master} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it makes sense to have devs work from master, but for production, wouldn't it be better for them to work from an official release tag?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prob, if that's what's expected
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed with @eschutho - I don't understand all of #26997 but it seems like these people are all trying to run latest builds off master instead of an official release? Or using a mismatch of master repo clone + an official release. Which underscores for me the value of directing new users to an official release instead of master, so that they have a positive experience right out of the box.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See also my comment here: #26997 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agree, just checked, and docker-compose-non-dev
does not mount the current code so latest
is probably the best tag option here.
Awesome. I just merged #27146 which should make the But note that there's something loose here, where it looks like the assumption with docker-compose is that you can mount the code on your local Knowing this, should we set docker-compose to "docker build" from the Dockerfile and simply leverage the caching? |
that's a valid point, I guess it depends on how much time it would normally take to build vs the frequency of master requirements being off. How can we leverage caching when |
I think it should leverage cached layers if pointed to the right cache that supports the |
SUMMARY
We now use
master
andmaster-dev
for latest master tags. This proposes a small change that will probably help people here: #26997 combined with #27146BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION