VMware Modern Apps Community
DCasota
Expert
Expert

How to install skaffold with jib on Photon OS ?

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-workfl... 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?

 

 

 

0 Kudos
3 Replies
DCasota
Expert
Expert

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

0 Kudos
anilspp
Enthusiast
Enthusiast

Thanks for info.

0 Kudos
reynolds73501
Contributor
Contributor

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

0 Kudos