docker-vscode-server icon indicating copy to clipboard operation
docker-vscode-server copied to clipboard

[FIX] Install Proprietary Extensions

Open nickmitchko opened this issue 3 years ago • 0 comments

Have a quick workaround to use this to install proprietary extensions (vscode store)

Product.json

{
  "nameShort": "code-server",
  "nameLong": "code-server",
  "applicationName": "code-oss",
  "dataFolderName": ".vscode-oss",
  "win32MutexName": "vscodeoss",
  "licenseName": "MIT",
  "licenseUrl": "https://github.com/microsoft/vscode/blob/master/LICENSE.txt",
  "win32DirName": "Microsoft Code OSS",
  "win32NameVersion": "Microsoft Code OSS",
  "win32RegValueName": "CodeOSS",
  "win32AppId": "{{E34003BB-9E10-4501-8C11-BE3FAA83F23F}",
  "win32x64AppId": "{{D77B7E06-80BA-4137-BCF4-654B95CCEBC5}",
  "win32arm64AppId": "{{D1ACE434-89C5-48D1-88D3-E2991DF85475}",
  "win32UserAppId": "{{C6065F05-9603-4FC4-8101-B9781A25D88E}",
  "win32x64UserAppId": "{{CC6B787D-37A0-49E8-AE24-8559A032BE0C}",
  "win32arm64UserAppId": "{{3AEBF0C8-F733-4AD4-BADE-FDB816D53D7B}",
  "win32AppUserModelId": "Microsoft.CodeOSS",
  "win32ShellNameShort": "C&ode - OSS",
  "darwinBundleIdentifier": "com.visualstudio.code.oss",
  "linuxIconName": "com.visualstudio.code.oss",
  "licenseFileName": "LICENSE.txt",
  "reportIssueUrl": "https://github.com/cdr/code-server/issues/new",
  "urlProtocol": "code-oss",
  "extensionsGallery": {
    "serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
    "cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",
    "itemUrl": "https://marketplace.visualstudio.com/items",
    "controlUrl": "",
    "recommendationsUrl": ""
  },
  "extensionAllowedProposedApi": [
    "ms-vscode.vscode-js-profile-flame",
    "ms-vscode.vscode-js-profile-table",
    "ms-vscode.references-view",
    "ms-vscode.github-browser"
  ],
  "builtInExtensions": [
    {
      "name": "ms-vscode.node-debug",
      "version": "1.44.14",
      "repo": "https://github.com/microsoft/vscode-node-debug",
      "metadata": {
        "id": "b6ded8fb-a0a0-4c1c-acbd-ab2a3bc995a6",
        "publisherId": {
          "publisherId": "5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",
          "publisherName": "ms-vscode",
          "displayName": "Microsoft",
          "flags": "verified"
        },
        "publisherDisplayName": "Microsoft"
      }
    },
    {
      "name": "ms-vscode.node-debug2",
      "version": "1.42.5",
      "repo": "https://github.com/microsoft/vscode-node-debug2",
      "metadata": {
        "id": "36d19e17-7569-4841-a001-947eb18602b2",
        "publisherId": {
          "publisherId": "5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",
          "publisherName": "ms-vscode",
          "displayName": "Microsoft",
          "flags": "verified"
        },
        "publisherDisplayName": "Microsoft"
      }
    },
    {
      "name": "ms-vscode.references-view",
      "version": "0.0.71",
      "repo": "https://github.com/microsoft/vscode-reference-view",
      "metadata": {
        "id": "dc489f46-520d-4556-ae85-1f9eab3c412d",
        "publisherId": {
          "publisherId": "5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",
          "publisherName": "ms-vscode",
          "displayName": "Microsoft",
          "flags": "verified"
        },
        "publisherDisplayName": "Microsoft"
      }
    },
    {
      "name": "ms-vscode.js-debug-companion",
      "version": "1.0.8",
      "repo": "https://github.com/microsoft/vscode-js-debug-companion",
      "metadata": {
        "id": "99cb0b7f-7354-4278-b8da-6cc79972169d",
        "publisherId": {
          "publisherId": "5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",
          "publisherName": "ms-vscode",
          "displayName": "Microsoft",
          "flags": "verified"
        },
        "publisherDisplayName": "Microsoft"
      }
    },
    {
      "name": "ms-vscode.js-debug",
      "version": "1.51.0",
      "repo": "https://github.com/microsoft/vscode-js-debug",
      "metadata": {
        "id": "25629058-ddac-4e17-abba-74678e126c5d",
        "publisherId": {
          "publisherId": "5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",
          "publisherName": "ms-vscode",
          "displayName": "Microsoft",
          "flags": "verified"
        },
        "publisherDisplayName": "Microsoft"
      }
    },
    {
      "name": "ms-vscode.vscode-js-profile-table",
      "version": "0.0.11",
      "repo": "https://github.com/microsoft/vscode-js-debug",
      "metadata": {
        "id": "7e52b41b-71ad-457b-ab7e-0620f1fc4feb",
        "publisherId": {
          "publisherId": "5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",
          "publisherName": "ms-vscode",
          "displayName": "Microsoft",
          "flags": "verified"
        },
        "publisherDisplayName": "Microsoft"
      }
    }
  ],
  "webBuiltInExtensions": [
    {
      "name": "ms-vscode.github-browser",
      "version": "0.0.13",
      "repo": "https://github.com/microsoft/vscode-github-browser",
      "metadata": {
        "id": "c1bcff4b-4ecb-466e-b8f6-b02788b5fb5a",
        "publisherId": {
          "publisherId": "5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",
          "publisherName": "ms-vscode",
          "displayName": "Microsoft",
          "flags": "verified"
        },
        "publisherDisplayName": "Microsoft"
      }
    }
  ],
  "//": "https://github.com/VSCodium/vscodium/pull/155/files",
  "documentationUrl": "https://go.microsoft.com/fwlink/?LinkID=533484#vscode",
  "keyboardShortcutsUrlMac": "https://go.microsoft.com/fwlink/?linkid=832143",
  "keyboardShortcutsUrlLinux": "https://go.microsoft.com/fwlink/?linkid=832144",
  "keyboardShortcutsUrlWin": "https://go.microsoft.com/fwlink/?linkid=832145",
  "introductoryVideosUrl": "https://go.microsoft.com/fwlink/?linkid=832146",
  "tipsAndTricksUrl": "https://go.microsoft.com/fwlink/?linkid=852118",
  "newsletterSignupUrl": "https://www.research.net/r/vsc-newsletter",
  "commit": "c4610f7829701aadb045d450013b84491c30580d",
  "date": "2020-12-18T20:25:37Z"
}

Dockerfile

FROM ruanbekker/vscode-server:python
USER root

ADD product.json /usr/lib/code-server/lib/vscode/product.json

USER 1000
ENV USER=coder
WORKDIR /home/coder

ENTRYPOINT ["/usr/bin/entrypoint.sh"]

nickmitchko avatar Jan 21 '22 21:01 nickmitchko