diff --git a/.editorconfig b/.editorconfig index ebe51d3..5d47c21 100644 --- a/.editorconfig +++ b/.editorconfig @@ -8,5 +8,5 @@ indent_style = space indent_size = 2 end_of_line = lf charset = utf-8 -trim_trailing_whitespace = false -insert_final_newline = false \ No newline at end of file +trim_trailing_whitespace = true +insert_final_newline = true diff --git a/.gitea/workflows/dev.yaml b/.gitea/workflows/dev.yaml index 8136603..476e6c9 100644 --- a/.gitea/workflows/dev.yaml +++ b/.gitea/workflows/dev.yaml @@ -16,7 +16,7 @@ jobs: build: runs-on: k3s - needs: Dockerfile lint + # needs: Dockerfile lint # lets process faster pull-requests steps: - uses: actions/checkout@v3 - name: Kaniko build diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..76acc51 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,9 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=827846 + // for the documentation about the extensions.json format + "recommendations": [ + "EditorConfig.EditorConfig", + // Code formatter using prettier + "esbenp.prettier-vscode" + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..36be7a5 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.formatOnSave": true, + "editor.formatOnPaste": false +} diff --git a/Dockerfile b/Dockerfile index 7d31d4c..28eba9b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,9 @@ # https://hub.docker.com/_/alpine +# https://endoflife.date/alpine FROM alpine:3.18 RUN apk update && \ - apk add --no-cache nano mc micro rsync ncdu git curl - + apk add --no-cache nano mc micro rsync ncdu git curl openssh-client COPY ./bin/ /usr/local/bin + +ENTRYPOINT ["sleep", "infinity"]