Add basic devcontainer configs
This commit is contained in:
parent
a88788f3fc
commit
f181f5b5e2
|
|
@ -0,0 +1,30 @@
|
|||
FROM debian:12
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt update \
|
||||
&& apt install -y \
|
||||
libapache2-mod-php8.2 \
|
||||
php8.2-cli \
|
||||
php8.2-zip \
|
||||
php8.2-xml \
|
||||
php8.2-pgsql \
|
||||
php8.2-mysql \
|
||||
php8.2-sqlite3 \
|
||||
php8.2-mcrypt \
|
||||
php8.2-mbstring \
|
||||
php8.2-ldap \
|
||||
php8.2-gd \
|
||||
php8.2-curl \
|
||||
netcat-traditional \
|
||||
curl \
|
||||
sqlite3 \
|
||||
default-mysql-client \
|
||||
postgresql-client \
|
||||
composer \
|
||||
git \
|
||||
zsh \
|
||||
make \
|
||||
&& apt clean -y \
|
||||
&& chsh -s /bin/zsh \
|
||||
&& sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
"name": "Kanboard",
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile"
|
||||
},
|
||||
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
|
||||
|
||||
// For use with PHP or Apache (e.g.php -S localhost:8080 or apache2ctl start)
|
||||
"forwardPorts": [
|
||||
8080,
|
||||
3306,
|
||||
5432
|
||||
],
|
||||
|
||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||
"features": {
|
||||
"ghcr.io/devcontainers-contrib/features/gh-cli:1": {}
|
||||
},
|
||||
|
||||
"portsAttributes": {
|
||||
"8080": {
|
||||
"label": "Application port"
|
||||
},
|
||||
"3306": {
|
||||
"label": "MySQL port"
|
||||
},
|
||||
"5432": {
|
||||
"label": "PostgreSQL port"
|
||||
}
|
||||
},
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"ms-azuretools.vscode-docker",
|
||||
"zobo.php-intellisense",
|
||||
"xdebug.php-debug",
|
||||
"waderyan.gitblame",
|
||||
"ms-vscode.makefile-tools",
|
||||
"GitHub.copilot"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue