Coder Social home page Coder Social logo

Comments (10)

arey avatar arey commented on June 26, 2024

@odedia what do you think about?

from spring-petclinic-cloud.

odedia avatar odedia commented on June 26, 2024

Not sure Iā€™m following, do you currently have access to this repo on dockerhub?
Usually the part after the : is the version / tag.
So a better approach is something like
springcommunity/spring-petclinic-cloud-vets-service:k8sv1
Or something like that.

from spring-petclinic-cloud.

arey avatar arey commented on June 26, 2024

Yes, I've created the springcommunity organization on DockerHub. I've just added you as a member.
If neeeded, we could create another organization on DockerHub, Amazon ECR or whatever.
Your approach to concatenate the maven profile with the version could do the job. I see an issue: the latest tag could reference mix profiles: springcommunity/spring-petclinic-cloud-vets-service:k8sv1 and springcommunity/spring-petclinic-cloud-pets-service:cloudv1 (by the way, do we have to rename the cloud profile to tanzu?)

from spring-petclinic-cloud.

odedia avatar odedia commented on June 26, 2024

from spring-petclinic-cloud.

arey avatar arey commented on June 26, 2024

Tools like Jib or the Spotify docker-maven-plugin used on spring-petclinic-cloud are automatically using the Maven version to tag the docker image. It's really practical.
See https://github.com/spring-petclinic/spring-framework-petclinic#publishing-a-docker-image and
image

We could move on to the more recent spring-boot:build-image goal based on buildpacks (see https://www.baeldung.com/spring-boot-docker-images).

Whatever the solution, we have to find a way to customize the version/tag.
I propose to use a dash: springcommunity/<service name>:<maven version>-<maven profile>
Exemple

  • springcommunity/spring-petclinic-cloud-vets-service:2.3.1-k8s
  • springcommunity/spring-petclinic-cloud-vets-service:2.3.1-tanzu

from spring-petclinic-cloud.

patsevanton avatar patsevanton commented on June 26, 2024

I hope that will progress on this issue.

from spring-petclinic-cloud.

arey avatar arey commented on June 26, 2024

@patsevanton could you try docker pull springcommunity/spring-petclinic-cloud-discovery-service ?
See #28

from spring-petclinic-cloud.

patsevanton avatar patsevanton commented on June 26, 2024

Yes. I can pull docker pull springcommunity/spring-petclinic-cloud-discovery-service

How can i help for this issue ?

from spring-petclinic-cloud.

arey avatar arey commented on June 26, 2024

@patsevanton could test to deploy the application into k8s with the image I've pushed into the springcommunity container repository?

from spring-petclinic-cloud.

patsevanton avatar patsevanton commented on June 26, 2024

Thanks for answer. Now testing spring-petclinic-cloud by skaffold. I will test later.

from spring-petclinic-cloud.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.