added makefile

This commit is contained in:
mik-tf 2024-10-02 12:23:41 -04:00
parent 949162579d
commit 533e294a11
3 changed files with 15 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,2 +1 @@
flist
Makefile

5
Makefile Normal file
View File

@ -0,0 +1,5 @@
build:
sudo rm flist
sudo flist uninstall
v -o flist .
sudo ./flist install

View File

@ -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: