diff --git a/pnpm-config/.devcontainer/devcontainer.json b/pnpm-config/.devcontainer/devcontainer.json index 386feff570a38efa9b9d42295c6e3317e4440b78..f24a7fdc243953234b356dc9d548aa9bfdf9fc5c 100644 --- a/pnpm-config/.devcontainer/devcontainer.json +++ b/pnpm-config/.devcontainer/devcontainer.json @@ -2,9 +2,42 @@ "name": "Hive NodeJS & Typescript", "image": "registry.gitlab.syncad.com/hive/common-ci-configuration/emsdk:4.0.1-3@sha256:a2aef5aee0c4bcf1655cd9388d9d940ebfe588c66dae12d0abf5e21a6aff6f0d", "containerUser": "emscripten", + //"runArgs": ["--network=host"], + "containerEnv": { + "DISPLAY": "host.docker.internal:0.0" + }, + + "portsAttributes": { + "8000-8080": { + "label": "Playwright test server, do not autoforward", + "onAutoForward": "ignore" + }, + "30000-50000": { + "label": "Playwright test server, do not autoforward", + "onAutoForward": "ignore" + } + }, + + "mounts": [ + { + "source": "/storage1/", + "target": "/storage1/", + "type": "bind" + }, + { + "source": "${localEnv:HOME}/.gitconfig", + "target": "/home/emscripten/.gitconfig", + "type": "bind" + } + ], "customizations": { "vscode": { - "extensions": [] + "extensions": [ + "ms-playwright.playwright", + "Vue.volar", + "GitHub.copilot", + "GitHub.copilot-chat" + ] } } } \ No newline at end of file diff --git a/templates/docker_image_jobs.gitlab-ci.yml b/templates/docker_image_jobs.gitlab-ci.yml index afa794696766181e74c791f3ec002422dc629082..771f3adcbc7ce7250926cc523d7b4d305009ca44 100644 --- a/templates/docker_image_jobs.gitlab-ci.yml +++ b/templates/docker_image_jobs.gitlab-ci.yml @@ -12,6 +12,8 @@ include: variables: DOCKER_DRIVER: overlay2 DOCKER_TLS_CERTDIR: "/certs" + FF_NETWORK_PER_BUILD: "true" + image: registry.gitlab.syncad.com/hive/common-ci-configuration/docker-builder:${DOCKER_BUILDER_TAG} before_script: - |