diff --git a/.gitignore b/.gitignore index 33b74d3..6b7ce1b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -flist -Makefile \ No newline at end of file +flist \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1f06351 --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ +build: + sudo rm flist + sudo flist uninstall + v -o flist . + sudo ./flist install \ No newline at end of file diff --git a/README.md b/README.md index da48288..50dae57 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ - [Installation](#installation) - [Prerequisites](#prerequisites) - [Building and Installing](#building-and-installing) + - [Rebuild Locally](#rebuild-locally) - [Usage](#usage) - [OS-Specific Instructions](#os-specific-instructions) - [Windows](#windows) @@ -42,6 +43,14 @@ Flist CLI is a tool that turns Dockerfiles and Docker images directly into Flist This will copy the `flist` executable to the appropriate system location. +### Rebuild Locally + +You can use the Makefile command to deploy on Linux: + +``` +make build +``` + ## Usage After installation, you can use the `flist` command followed by various subcommands: