fix: devocontainer permission fix
This commit is contained in:
parent
a39b7adfbc
commit
b645b52d7e
@ -25,8 +25,10 @@
|
|||||||
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
|
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
|
||||||
//"ghcr.io/devcontainers/features/docker-in-docker:2": {}
|
//"ghcr.io/devcontainers/features/docker-in-docker:2": {}
|
||||||
},
|
},
|
||||||
"runArgs": ["--add-host=host.docker.internal:host-gateway"],
|
"runArgs": [
|
||||||
"postCreateCommand": "./.devcontainer/setup.sh",
|
"--add-host=host.docker.internal:host-gateway"
|
||||||
|
],
|
||||||
|
"postCreateCommand": "/bin/bash ./.devcontainer/setup.sh",
|
||||||
"remoteUser": "vscode",
|
"remoteUser": "vscode",
|
||||||
"updateRemoteUserUID": true,
|
"updateRemoteUserUID": true,
|
||||||
//"workspaceMount": "",
|
//"workspaceMount": "",
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo "Worckspace is $PWD"
|
||||||
|
sudo chmod -R 777 .
|
||||||
## Frontend setup
|
## Frontend setup
|
||||||
#if [ -d "frontend-react" ]; then
|
#if [ -d "frontend-react" ]; then
|
||||||
# echo "Setting up frontend-react..."
|
# echo "Setting up frontend-react..."
|
||||||
|
@ -97,12 +97,11 @@ Ensure you have the following installed:
|
|||||||
- [VisualStudioCode](https://code.visualstudio.com/)
|
- [VisualStudioCode](https://code.visualstudio.com/)
|
||||||
|
|
||||||
If you dont want to use devcontainers and/or docker you need to install the following dependencies on your own:
|
If you dont want to use devcontainers and/or docker you need to install the following dependencies on your own:
|
||||||
- Go
|
- Go (1.21.0)
|
||||||
- Dart
|
- Dart (3.6.0-1)
|
||||||
- PostgreSQL
|
- PostgreSQL
|
||||||
- NodeJS (required for Prisma)
|
- NodeJS (required for Prisma)
|
||||||
|
|
||||||
|
|
||||||
### 🔧 Installation
|
### 🔧 Installation
|
||||||
|
|
||||||
1. **Clone the repository**:
|
1. **Clone the repository**:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user