GarbageYard

Node-Python Dockerfile for BitBucket Pipeline

Aug 14th, 2018
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. Dockerfile >>>
  2.  
  3. image: node:8.11-jessie
  4.  
  5. pipelines:
  6. custom: # Pipelines that can only be triggered manually
  7. Build & Deploy:
  8. - step:
  9. script:
  10. - apt update && \
  11. apt install -y \
  12. python3 \
  13. python3-pip \
  14. python3-setuptools \
  15. groff \
  16. less \
  17. && pip3 install --upgrade pip \
  18. && apt clean \
  19. && pip3 --no-cache-dir install --upgrade awscli
  20. - npm install
  21. ...
  22. ...
  23. -------------------------------------------------------------------------------
  24. Output >>>
  25. apt update && \ apt install -y \ python3 \ python3-pip \ python3-setuptools \ groff \ less \ && pip3 install --upgrade pip \ && apt clean \ && pip3 --no-cache-dir install --upgrade awscli19s
  26. + apt update && \ apt install -y \ python3 \ python3-pip \ python3-setuptools \ groff \ less \ && pip3 install --upgrade pip \ && apt clean \ && pip3 --no-cache-dir install --upgrade awscli
  27. WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.
  28. Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]
  29. Ign http://deb.debian.org jessie InRelease
  30. Get:2 http://deb.debian.org jessie-updates InRelease [145 kB]
  31. Get:3 http://deb.debian.org jessie Release.gpg [2420 B]
  32. Get:4 http://deb.debian.org jessie Release [148 kB]
  33. Get:5 http://security.debian.org jessie/updates/main amd64 Packages [642 kB]
  34. Get:6 http://deb.debian.org jessie-updates/main amd64 Packages [23.0 kB]
  35. Get:7 http://deb.debian.org jessie/main amd64 Packages [9098 kB]
  36. Fetched 10.1 MB in 9s (1035 kB/s)
  37. Reading package lists...
  38. Building dependency tree...
  39. Reading state information...
  40. 8 packages can be upgraded. Run 'apt list --upgradable' to see them.
  41. bash: apt: command not found
Add Comment
Please, Sign In to add comment