Skip to content
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

Minimize what we copy to cpiface stage #49

Merged
merged 1 commit into from
May 7, 2020
Merged

Conversation

krsna1729
Copy link
Member

@krsna1729 krsna1729 commented May 6, 2020

Docker build stage seems to complete once we reduce libraries being copied to cpiface stage

#29 [cpiface 3/5] COPY --from=cpiface-build /opt/grpc/libs/opt /opt/grpc/lib...
#29 ERROR: failed to copy files: userspace copy failed: write /var/lib/docker/overlay2/c6480ij2vovmd28msmoo9b747/merged/opt/grpc/libs/opt/libgrpc_cronet.a: no space left on device
------
 > [cpiface 3/5] COPY --from=cpiface-build /opt/grpc/libs/opt /opt/grpc/libs/opt:
------
failed to solve with frontend dockerfile.v0: failed to build LLB: failed to copy files: userspace copy failed: write /var/lib/docker/overlay2/c6480ij2vovmd28msmoo9b747/merged/opt/grpc/libs/opt/libgrpc_cronet.a: no space left on device
##[error]Process completed with exit code 1.

https://github.com/omec-project/upf-epc/runs/650917611?check_suite_focus=true#step:3:6434
vs

#29 [cpiface-build 8/8] RUN mkdir -p /grpc-libs &&     cp /opt/grpc/libs/opt...
#29 DONE 1.6s

#30 [cpiface 3/5] COPY --from=cpiface-build /grpc-libs /grpc-libs
#30 DONE 1.3s

#31 [cpiface 4/5] RUN echo "/grpc-libs" > /etc/ld.so.conf.d/grpc.conf &&    ...
#31 0.215 /sbin/ldconfig.real: /grpc-libs/libgrpc++.so.1 is not a symbolic link
#31 0.215 
#31 DONE 0.3s

https://github.com/omec-project/upf-epc/runs/651164999?check_suite_focus=true#step:3:6403

@krsna1729 krsna1729 requested a review from ajamshed May 6, 2020 23:24
@krsna1729 krsna1729 marked this pull request as ready for review May 6, 2020 23:24
@ajamshed ajamshed merged commit 4c0030d into master May 7, 2020
@ajamshed ajamshed deleted the actions-storage branch May 8, 2020 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants