diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..3b2eacb --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = crlf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.sh] +end_of_line = lf + +[*.md] +trim_trailing_whitespace = false diff --git a/Dockerfile b/Dockerfile index 5cdabc5..e037f42 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,7 +34,9 @@ RUN \ apk --no-cache del .build-deps COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint -RUN chmod +x /usr/local/bin/docker-entrypoint +RUN \ + chmod +x /usr/local/bin/docker-entrypoint && \ + sed -i 's,\r,,g' /usr/local/bin/docker-entrypoint RUN \ for path in \