mirror of
				https://github.com/bspeice/speice.io
				synced 2025-11-03 18:10:32 -05:00 
			
		
		
		
	Initial commit for new blog generator
This commit is contained in:
		@ -1,6 +1,2 @@
 | 
			
		||||
FROM mcr.microsoft.com/vscode/devcontainers/ruby:0-2.7-bullseye
 | 
			
		||||
 | 
			
		||||
RUN wget https://github.com/errata-ai/vale/releases/download/v2.21.0/vale_2.21.0_Linux_64-bit.tar.gz -O /tmp/vale.tar.gz \
 | 
			
		||||
 && cd /usr/local/bin \
 | 
			
		||||
 && tar xf /tmp/vale.tar.gz \
 | 
			
		||||
 && rm /tmp/vale.tar.gz
 | 
			
		||||
ARG VARIANT=16-bullseye
 | 
			
		||||
FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-${VARIANT}
 | 
			
		||||
 | 
			
		||||
@ -1,13 +1,33 @@
 | 
			
		||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
 | 
			
		||||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.245.0/containers/ruby
 | 
			
		||||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.245.0/containers/typescript-node
 | 
			
		||||
{
 | 
			
		||||
	"name": "Ruby",
 | 
			
		||||
	"build": {
 | 
			
		||||
		"dockerfile": "Dockerfile"
 | 
			
		||||
	},
 | 
			
		||||
	"runArgs": ["--userns=keep-id"],
 | 
			
		||||
  "name": "Node.js & TypeScript",
 | 
			
		||||
  "build": {
 | 
			
		||||
    "dockerfile": "Dockerfile",
 | 
			
		||||
    // Update 'VARIANT' to pick a Node version: 18, 16, 14.
 | 
			
		||||
    // Append -bullseye or -buster to pin to an OS version.
 | 
			
		||||
    // Use -bullseye variants on local on arm64/Apple Silicon.
 | 
			
		||||
    "args": {
 | 
			
		||||
      "VARIANT": "18-bullseye"
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "runArgs": ["--userns=keep-id"],
 | 
			
		||||
 | 
			
		||||
	"remoteUser": "vscode",
 | 
			
		||||
	"containerUser": "vscode",
 | 
			
		||||
	"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/${localWorkspaceFolderBasename},type=bind,Z"
 | 
			
		||||
  // Configure tool-specific properties.
 | 
			
		||||
  "customizations": {
 | 
			
		||||
    // Configure properties specific to VS Code.
 | 
			
		||||
    "vscode": {
 | 
			
		||||
      // Add the IDs of extensions you want installed when the container is created.
 | 
			
		||||
      "extensions": ["dbaeumer.vscode-eslint"]
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
  // Use 'forwardPorts' to make a list of ports inside the container available locally.
 | 
			
		||||
  // "forwardPorts": [],
 | 
			
		||||
 | 
			
		||||
  // Use 'postCreateCommand' to run commands after the container is created.
 | 
			
		||||
  // "postCreateCommand": "yarn install",
 | 
			
		||||
 | 
			
		||||
  // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
 | 
			
		||||
  "workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/${localWorkspaceFolderBasename},type=bind,Z"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user