diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..84e71ee --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,19 @@ +name: Build dev container image +on: + push: + branches: + - '*' + +jobs: + build-devcontainer-image: + name: Release Please + runs-on: default-runner-csb + timeout-minutes: 30 + steps: + - name: Pre-build dev container image + uses: devcontainers/ci@v0.3 + with: + subFolder: typescript-node + imageName: ghcr.io/codesandbox/devcontainers/typescript-node + cacheFrom: ghcr.io/codesandbox/devcontainers/typescript-node + push: always \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..dc559a3 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# Devcontainer images for CodeSandbox \ No newline at end of file diff --git a/typescript-node/.devcontainer.json b/typescript-node/.devcontainer.json new file mode 100644 index 0000000..2b7ec98 --- /dev/null +++ b/typescript-node/.devcontainer.json @@ -0,0 +1,8 @@ +{ + "name": "CodeSandbox Typescript Node.js", + "image": "mcr.microsoft.com/devcontainers/typescript-node:20", + "features": { + "ghcr.io/codesandbox/devcontainer-features/codesandbox:0.1.4": {} + }, + "remoteUser": "root" +} \ No newline at end of file