Skip to content
Snippets Groups Projects
Commit 14296c19 authored by Benedikt Heinrichs's avatar Benedikt Heinrichs
Browse files

Build: Add Dev Container

parent 71c8d462
Branches
Tags
2 merge requests!159Chore: 3.6.3,!158master
FROM mcr.microsoft.com/devcontainers/javascript-node:20 as develop
version: "3.7"
services:
app:
build:
target: develop
user: node
userns_mode: keep-id:uid=1000,gid=1000
environment:
SSH_AUTH_SOCK: /.ssh/ssh-agent.sock
MOCKUP: "false"
command: /bin/sh -c "while sleep 2s; do :; done"
volumes:
- ..:/workspace/app:cached
- ./.vscode-server:/home/node/.vscode-server/:cached
- ${SSH_AUTH_SOCK}:/.ssh/ssh-agent.sock
networks:
- proxy-net
- default
networks:
default:
driver: bridge
proxy-net:
external: true
name: proxy-net
{
"name": "Web Form-Generator Devcontainer",
"dockerComposeFile": ["compose.yml"],
"service": "app",
"workspaceFolder": "/workspace/app",
"updateRemoteUserUID": false,
"remoteUser": "node",
"containerUser": "node"
}
/.devcontainer/.vscode-server/*
!/.devcontainer/.vscode-server/.gitkeep
/.devcontainer/.config/*
!/.devcontainer/.config/.gitkeep
# Created by https://www.toptal.com/developers/gitignore/api/vue,node,macos,windows,linux,vscode,intellij+all
# Edit at https://www.toptal.com/developers/gitignore?templates=vue,node,macos,windows,linux,vscode,intellij+all
......@@ -305,6 +309,7 @@ $RECYCLE.BIN/
# End of https://www.toptal.com/developers/gitignore/api/vue,node,macos,windows,linux,vscode,intellij+all
# Other
.husky
.yarn/*
!.yarn/patches
......
......@@ -6,7 +6,6 @@ include:
- template: Code-Quality.gitlab-ci.yml
- template: Security/SAST.gitlab-ci.yml
- template: Security/Secret-Detection.gitlab-ci.yml
- template: Security/License-Scanning.gitlab-ci.yml
- template: Security/Dependency-Scanning.gitlab-ci.yml
stages:
......@@ -46,11 +45,6 @@ code_quality:
artifacts:
paths: [gl-code-quality-report.json]
license_scanning:
stage: code-analysis
tags:
- runner:docker
sast:
stage: code-analysis
tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment