You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
1.2KB

  1. #!/bin/bash
  2. export DEBIAN_FRONTEND=noninteractive
  3. # setup mirror source
  4. MRUM="main restricted universe multiverse"
  5. cat > /etc/apt/sources.list << EOF
  6. deb mirror://mirrors.ubuntu.com/mirrors.txt bionic $MRUM
  7. deb mirror://mirrors.ubuntu.com/mirrors.txt bionic-updates $MRUM
  8. deb mirror://mirrors.ubuntu.com/mirrors.txt bionic-security $MRUM
  9. deb mirror://mirrors.ubuntu.com/mirrors.txt bionic-backports $MRUM
  10. EOF
  11. # update
  12. apt update && apt upgrade -y
  13. # deliberate decision to use distro docker and not latest
  14. PKGS="
  15. apt-file
  16. apt-utils
  17. bash
  18. bash-completion
  19. build-essential
  20. byobu
  21. command-not-found
  22. cryptsetup-bin
  23. docker.io
  24. gconf-service
  25. gconf2
  26. git
  27. gnupg-agent
  28. gnupg2
  29. golang-go
  30. gvfs-bin
  31. haveged
  32. htop
  33. jq
  34. libasound2
  35. libcurl4
  36. libgtk-3-0
  37. libnotify4
  38. libnss3
  39. libx11-xcb1
  40. libxkbfile1
  41. libxss1
  42. libxtst6
  43. lsof
  44. mosh
  45. nmap
  46. ntp
  47. ntpdate
  48. opensc
  49. openssh-server
  50. pbzip2
  51. pcscd
  52. pinentry-curses
  53. pv
  54. python-pip
  55. python3-dev
  56. python3-pip
  57. rsync
  58. ruby
  59. scdaemon
  60. socat
  61. software-properties-common
  62. strace
  63. vim
  64. xdg-utils
  65. "
  66. apt install -y $PKGS
  67. # update apt-file cache
  68. apt-file update