Facing Issue while building from docker
Opened this issue · 5 comments
` => CANCELED [internal] load build context 0.0s
=> => transferring context: 0.0s
=> CACHED [juno-build 1/1] FROM ghcr.io/paypal/junodb/juno-build:latest 0.0s
=> CACHED [juno-runtime-base 2/3] RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yqq daemontools curl dnsutils ed less netcat net-tools sysstat iputils-ping tzdata && apt-get auto 0.0s
=> CACHED [juno-runtime-base 3/3] RUN groupadd -r juno --gid=1000 && useradd -r -g juno --uid=1000 juno 0.0s
=> ERROR [junoclustercfg 1/5] COPY --from=juno-build /juno/bin/clusterctl /juno/bin/junocfg /juno/bin/junoctl /juno/cmd/etcdsvr/etcdctl /opt/juno/ 0.0s
[junoclustercfg 1/5] COPY --from=juno-build /juno/bin/clusterctl /juno/bin/junocfg /juno/bin/junoctl /juno/cmd/etcdsvr/etcdctl /opt/juno/:
Dockerfile:53
52 |
53 | >>> COPY --from=juno-build
54 | >>> /juno/bin/clusterctl
55 | >>> /juno/bin/junocfg
56 | >>> /juno/bin/junoctl
57 | >>> /juno/cmd/etcdsvr/etcdctl
58 | >>> /opt/juno/
59 |
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref moby::128g9rtlb7qrgrase1wz73do8: "/juno/bin/clusterctl": not found
make: *** [build_junoclustercfg] Error 1`
anyone faced similar issue ?
Explain what steps led to this error.
The docker build is staged build where juno-build image should get created first.
juno-build uses ubuntu:16.04 as base image. Can you confirm if the juno-build image was successfully created ? if "docker login" is authenticated, you may run the build.sh in docker base directory to generate all the images
Getting same error after running build.sh
This is the error on juno services build stage where the /juno/bin/clusterctl binary is not found.
Can you confirm if the juno-build image was created when you run build.sh and the error happened after that
Also mention the build environment , os, docker version etc.
You can view a demo build here - https://github.com/paypal/junodb/blob/dev/docs/videos.md
@NK8916 are you still seeing the issue?
@varuntechie Yes still facing same issue