Advertisement
hakonhagland

centos8-install-ipc-shareable

Nov 25th, 2021
341
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.61 KB | None | 0 0
  1. # Dockerfile
  2. FROM centos:8
  3. SHELL ["/bin/bash", "-c"]
  4. RUN yum -y update \
  5. && yum -y install curl make \
  6. gcc gcc-c++ git vim wget zlib-devel openssl-devel \
  7. perl-CPAN perl-App-cpanminus
  8.  
  9. ARG home=/root
  10. WORKDIR $home
  11. COPY entrypoint.sh .
  12. RUN chmod +x entrypoint.sh
  13. ENTRYPOINT ["./entrypoint.sh"]
  14.  
  15. -------------------------
  16. # entrypoint.sh
  17. #! /bin/bash
  18. cpanm -v IPC::Shareable
  19. exec bash
  20.  
  21. -------------------------
  22. # Running container:
  23.  
  24. $ cpanm -v IPC::Shareable
  25. [...]
  26. Building and testing IPC-Shareable-1.06 ... cp lib/IPC/Shareable/SharedMem.pm blib/lib/IPC/Shareable/SharedMem.pm
  27. cp lib/IPC/Shareable.pm blib/lib/IPC/Shareable.pm
  28. Manifying 2 pod documents
  29. PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
  30. t/00-base.t .......................... ok
  31. t/02-create.t ........................ ok
  32. t/04-key.t ........................... ok
  33. t/05-sv.t ............................ ok
  34. t/07-new.t ........................... ok
  35. t/10-av.t ............................ ok
  36. t/15-hv.t ............................ ok
  37. t/17-attributes.t .................... ok
  38. t/20-ref.t ........................... ok
  39. t/25-ipc.t ........................... ok
  40. t/30-lock_operation.t ................ ok
  41. t/31-lock_semaphore.t ................ ok
  42. t/35-clean.t ......................... ok
  43. t/36-ipcav.t ......................... ok
  44. t/38-ipchv.t ......................... ok
  45. t/40-ipcref.t ........................ ok
  46. t/45-obj.t ........................... ok
  47. t/50-ipcobj.t ........................ ok
  48. t/55-lsync.t ......................... ok
  49. t/60-tied.t .......................... ok
  50. t/61-seg_sem.t ....................... ok
  51. t/63-nested_segs_tidy.t .............. ok
  52. t/64-nested_segs_untidy.t ............ ok
  53. t/65-seg_size.t ...................... 1/? IPC_MEM env var not set, skipping the exhaust memory test
  54. t/65-seg_size.t ...................... ok
  55. t/66-size_exceeded.t ................. ok
  56. t/67-exhaust_shm_slots.t ............. ok
  57. t/71-unspawn.t ....................... ok
  58. t/72-unspawn_destroy.t ............... ok
  59. t/75-graceful.t ...................... ok
  60. t/76-singleton.t ..................... ok
  61. t/77-singleton_warn.t ................ ok
  62. t/80-exceptions.t .................... ok
  63. t/85-spawn_object_contains_data.t .... skipped: IPC_SPAWN_TEST env var not set
  64. t/86-unspawn_object_contains_data.t .. skipped: IPC_SPAWN_TEST env var not set
  65. t/90-pod_coverage.t .................. skipped: Author test: RELEASE_TESTING not set
  66. t/91-pod_linkcheck.t ................. skipped: Author test: RELEASE_TESTING not set
  67. t/92-pod.t ........................... skipped: Author test: RELEASE_TESTING not set
  68. t/93-manifest.t ...................... skipped: Author test: RELEASE_TESTING not set
  69. All tests successful.
  70. Files=38, Tests=413, 11 wallclock secs ( 0.12 usr 0.03 sys + 3.98 cusr 1.66 csys = 5.79 CPU)
  71. Result: PASS
  72. Manifying 2 pod documents
  73. Installing /usr/local/share/perl5/IPC/Shareable.pm
  74. Installing /usr/local/share/perl5/IPC/Shareable/SharedMem.pm
  75. Installing /usr/local/share/man/man3/IPC::Shareable.3pm
  76. Installing /usr/local/share/man/man3/IPC::Shareable::SharedMem.3pm
  77. Appending installation info to /usr/lib64/perl5/perllocal.pod
  78. OK
  79. Successfully installed IPC-Shareable-1.06
  80. Installing /usr/local/share/perl5/x86_64-linux-thread-multi/.meta/IPC-Shareable-1.06/install.json
  81. Installing /usr/local/share/perl5/x86_64-linux-thread-multi/.meta/IPC-Shareable-1.06/MYMETA.json
  82. 5 distributions installed
  83.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement