Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save stephenmw/517bc4b37508b51e070e1260e194526a to your computer and use it in GitHub Desktop.
Save stephenmw/517bc4b37508b51e070e1260e194526a to your computer and use it in GitHub Desktop.
Here is my first attempt at creating a minikube .deb installer:
(Adapted from the tutorial here https://ubuntuforums.org/showthread.php?t=910717)
$ mkdir minikube_0.7-1/usr
$ mkdir minikube_0.7-1/usr/local
$ mkdir minikube_0.7-1/usr/local/bin
$ cp /path/to/minikube/binary minikube_0.7-1/usr/local/bin
$ mkdir minikube_0.7-1/DEBIAN
$ emacs/vim/etc minikube_0.7-1/DEBIAN/control
[Add the following to minikube_0.7-1/DEBIAN/control]
----minikube_0.7-1/DEBIAN/control----
Package: minikube
Version: 0.7-1
Section: base
Priority: optional
Architecture: amd64
Depends: virtualbox
Maintainer: Aaron Prindle <aaprindle@gmail.com>
Description: Minikube
Minikube is a tool that makes it easy to run Kubernetes locally.
Minikube runs a single-node Kubernetes cluster inside a VM on your
laptop for users looking to try out Kubernetes or develop with it
day-to-day.
----------------------------------
$ dpkg-deb --build minikube_0.7-1
[This will build the minikube_0.7-1.deb in the current dir]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment