Compare commits

..

No commits in common. "a2b7531ad4ca9cef9270e0b31018156f14f4ac4a" and "85b2635da32be5d38a2df282291e37a14bb9f76b" have entirely different histories.

3 changed files with 4 additions and 9 deletions

View file

@ -2,5 +2,3 @@
echo '* text=auto eol=lf' > $(git rev-parse --git-dir)/info/attributes
sudo rm -rf /var/www/html
sudo ln -sT $(pwd)/test/website /var/www/html
sudo chown vscode:vscode node_modules
sudo chown vscode:vscode vendor

View file

@ -4,10 +4,7 @@ RUN apt-get update && \
apt-get -y install sudo && \
rm -rf /var/lib/apt/lists/*
RUN userdel node; \
adduser --disabled-password --gecos '' vscode && \
RUN adduser --disabled-password --gecos '' vscode && \
sed -i /etc/sudoers -re 's/^%sudo.*/%sudo ALL=(ALL:ALL) NOPASSWD: ALL/g' && \
sed -i /etc/sudoers -re 's/^root.*/root ALL=(ALL:ALL) NOPASSWD: ALL/g' && \
echo 'vscode ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
USER vscode

6
.vscode/launch.json vendored
View file

@ -23,9 +23,9 @@
]
},
{
"type": "pwa-chrome",
"type": "pwa-msedge",
"request": "launch",
"name": "Launch Chrome",
"name": "Launch Edge",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}/test/website/public",
"pathMapping": {
@ -49,7 +49,7 @@
{
"name": "Debug Theme",
"configurations": [
"Launch Chrome",
"Launch Edge",
"Listen for XDebug"
]
}