Photon OS

 View Only
  • 1.  How to install skaffold with jib on Photon OS ?

    Posted Mar 11, 2022 06:07 PM

    Hi,

    In kube.academy I'm learning the chapters for building applications for kubernetes.

    All went fine so far. The step https://kube.academy/courses/building-applications-for-kubernetes/lessons/improving-developer-workflow however didn't work as expected. The lab setup is Photon4 rev2 on Arm64.

    The installation of skaffold worked flawlessly, but not skaffold init.

    DCasota_1-1647021637554.png

    Has someone a recipe how to install Jib on Photon OS?

     

     

     



  • 2.  RE: How to install skaffold with jib on Photon OS ?

    Posted Mar 12, 2022 11:50 AM

    not sure if this is complete, but it works now.

    # please double check - might not be complete yet.
    tdnf install -y openjdk8
    curl -J -L -O https://github.com/GoogleContainerTools/jib/archive/refs/tags/v3.2.0-maven.tar.gz
    tar -xzvf jib-3.2.0-maven.tar.gz
    cd jib-3.2.0-maven
    ./gradlew jib-cli:installDist
    cp ./jib-cli/build/install/jib/bin/jib /usr/bin

    Afterwards, I've copied all the files (main.go, Dockerfile, deployment.yaml, etc.) from the previous 'building-applications-for-kubernetes chapter into a new directory myapp, and started there skaffold init --generate-manifests.

    skaffold2.png



  • 3.  RE: How to install skaffold with jib on Photon OS ?

    Posted May 25, 2022 01:16 PM

    Thanks for info.



  • 4.  RE: How to install skaffold with jib on Photon OS ?

    Posted Jul 15, 2022 04:57 AM

    Thanks for sharing I have the same problem with facing same issue but now today I was see this your chat with communities member    and my issue is solve thanks... e Rewards