Init commit

This commit is contained in:
2024-11-07 10:54:06 +01:00
commit d0bed89029
6 changed files with 206 additions and 0 deletions

41
README.md Normal file
View File

@@ -0,0 +1,41 @@
# http-200
Simple http C server that always responds 200 to all http requests. Resulting in docker image size smaller than 40 kB (or 3 kB compressed).
## build
```bash
gcc -o server server.c
```
or using make
```bash
make
```
## run
```bash
./server
```
or
```bash
make run
```
## docker
build using docker with
```bash
docker build -t http-200 .
```
publish (multi-arch) using
```bash
make docker-publish
```