copacetic
copacetic copied to clipboard
feat: Add a new .devcontainer
This pull request includes changes to the development environment configuration. The most important changes are the addition of a new development container configuration, a post-creation script for the development container, and a .gitattributes
file to enforce line endings.
Development container configuration:
-
.devcontainer/devcontainer.json
: A new development container configuration has been added. The container is named "copacetic" and is based on themcr.microsoft.com/devcontainers/base:jammy
image. It includes Docker-in-Docker and Go features, runs a post-creation script, sets the remote user to "vscode", and installs several VS Code extensions.
Post-creation script:
-
.devcontainer/post-create.sh
: A post-creation script for the development container has been added. It installs the Trivy security scanner, changes the ownership of all files in the current directory to "vscode", and runs themake
command.
Line endings enforcement:
-
.gitattributes
: A new.gitattributes
file has been added to enforce LF line endings for all text files.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
b91c45d
) 32.59% compared to head (980fd49
) 32.59%.
Additional details and impacted files
@@ Coverage Diff @@
## main #465 +/- ##
=======================================
Coverage 32.59% 32.59%
=======================================
Files 17 17
Lines 1617 1617
=======================================
Hits 527 527
Misses 1058 1058
Partials 32 32
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@jpinz please make sure to sign your commits (see DCO failure) https://project-copacetic.github.io/copacetic/website/contributing#developer-certificate-of-origin-dco
Closing due to inactivity. Please feel free to re-open if there's ongoing work. Thanks!