diff --git a/.devcontainer/run.sh b/.devcontainer/run.sh index a812331..aa2350a 100644 --- a/.devcontainer/run.sh +++ b/.devcontainer/run.sh @@ -10,9 +10,12 @@ fi # Build docker build -t hdrhistogram-agent -f "$SCRIPT_DIR/Dockerfile" "$SCRIPT_DIR/" +echo "Built Docker image: hdrhistogram-agent" +echo "Starting container with .env file and mounted nuget cache volume. Named 'hdrhistogram-agent-0'" # Run docker run --rm \ + --name hdrhistogram-agent-0 \ --cap-add NET_ADMIN \ --cap-add NET_RAW \ --memory=4g \ diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..3921f32 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,9 @@ +# Auto-detect text files and normalise to LF in the repo +* text=auto eol=lf + +# Ensure shell scripts always use LF, even on Windows checkout +*.sh text eol=lf + +# Keep Windows batch files with CRLF +*.cmd text eol=crlf +*.bat text eol=crlf diff --git a/.gitignore b/.gitignore index 4b0a1ed..8bcde7a 100644 --- a/.gitignore +++ b/.gitignore @@ -117,4 +117,6 @@ _UpgradeReport_Files/ Backup*/ UpgradeLog*.XML -Thumbs.db \ No newline at end of file +Thumbs.db + +.env \ No newline at end of file