🎉 initial codebase

This commit is contained in:
DrMaxNix 2024-08-18 17:02:22 +02:00
commit 8a39c55bb3
4 changed files with 20 additions and 0 deletions

8
.editorconfig Normal file
View File

@ -0,0 +1,8 @@
root = true
[*]
indent_style = tab
indent_size = 4
end_of_line = lf
charset = utf-8
insert_final_newline = true

6
Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM alpine:latest
COPY VERSION /VERSION
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

1
VERSION Normal file
View File

@ -0,0 +1 @@
1.0.0

5
entrypoint.sh Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env sh
set -euo pipefail
readonly VERSION=$(cat /VERSION | xargs)
echo "v${VERSION}"