Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosthe19916 committed Jan 19, 2025
1 parent 54865ec commit 9c806b2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .devcontainer/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
FROM mcr.microsoft.com/devcontainers/rust:bullseye
RUN apt-get update && apt-get -y install pkg-config xmlsec1 libxml2-dev libxmlsec1-dev libxmlsec1-openssl libclang-dev
RUN apt-get update && apt-get -y install pkg-config libssl-dev libxml2-dev libclang-dev
RUN apt update && \
apt install sudo && \
usermod -aG sudo vscode && \
echo "%sudo ALL=(ALL) NOPASSWD:ALL" | tee -a /etc/sudoers > /dev/null

RUN chown vscode:vscode -R /home/vscode
USER vscode
5 changes: 5 additions & 0 deletions .devcontainer/docker/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
"build": {
"dockerfile": "Dockerfile"
},
"runArgs": [
"--privileged",
"--userns=keep-id"
],
"remoteUser": "vscode",
"features": {
"ghcr.io/devcontainers/features/rust:1": {},
"ghcr.io/devcontainers/features/node:1": {
Expand Down

0 comments on commit 9c806b2

Please sign in to comment.