Closed
Conversation
Comment on lines
+18
to
+33
| RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
| build-essential \ | ||
| git \ | ||
| curl \ | ||
| wget \ | ||
| libxml2-dev \ | ||
| libxslt1-dev \ | ||
| zlib1g-dev \ | ||
| sqlite3 \ | ||
| libsqlite3-dev \ | ||
| libssl-dev \ | ||
| pkg-config \ | ||
| make \ | ||
| zsh \ | ||
| && apt-get clean \ | ||
| && rm -rf /var/lib/apt/lists/* |
Comment on lines
+42
to
+49
| RUN groupadd --gid $USER_GID $USERNAME \ | ||
| && useradd --uid $USER_UID --gid $USER_GID -m $USERNAME \ | ||
| # Add the new user to the sudo group to allow them to run commands with sudo | ||
| && apt-get update \ | ||
| && apt-get install -y sudo \ | ||
| && echo $USERNAME ALL=\(ALL\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \ | ||
| && chmod 0440 /etc/sudoers.d/$USERNAME \ | ||
| && rm -rf /var/lib/apt/lists/* |
Member
|
Let's update the readme with some basic steps to use the devcontainer. I did something similar for serilog |
Member
jhgilbert
approved these changes
May 12, 2025
Contributor
jhgilbert
left a comment
There was a problem hiding this comment.
Approved with minor comments, thank you!
Co-authored-by: Jen Gilbert <j.h.gilbert@gmail.com>
Co-authored-by: Jen Gilbert <j.h.gilbert@gmail.com>
Datadog Summary❌ Code Quality ✅ Code Security ✅ Dependencies Next StepsFix these code quality issues introduced by this PR: ⚪ Notice: docker-best-practices/apt-pin-version
⚪ Notice: docker-best-practices/apt-pin-version
Was this helpful? Give us feedback! |
Comment on lines
+18
to
+33
| RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
| build-essential \ | ||
| git \ | ||
| curl \ | ||
| wget \ | ||
| libxml2-dev \ | ||
| libxslt1-dev \ | ||
| zlib1g-dev \ | ||
| sqlite3 \ | ||
| libsqlite3-dev \ | ||
| libssl-dev \ | ||
| pkg-config \ | ||
| make \ | ||
| zsh \ | ||
| && apt-get clean \ | ||
| && rm -rf /var/lib/apt/lists/* |
Comment on lines
+42
to
+49
| RUN groupadd --gid $USER_GID $USERNAME \ | ||
| && useradd --uid $USER_UID --gid $USER_GID -m $USERNAME \ | ||
| # Add the new user to the sudo group to allow them to run commands with sudo | ||
| && apt-get update \ | ||
| && apt-get install -y sudo \ | ||
| && echo $USERNAME ALL=\(ALL\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \ | ||
| && chmod 0440 /etc/sudoers.d/$USERNAME \ | ||
| && rm -rf /var/lib/apt/lists/* |
Member
|
Container starts! When I click Running |
Contributor
|
This PR is extended by #76 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What does this PR do?
Adds a devcontainer configuration to create a reproducible dev environment.
Motivation
reproducible dev environment
Additional Notes
Try launching in vscode and running it to verify.