Installing a locally-built extension #508
Unanswered
electricmonk
asked this question in
Q&A
Replies: 1 comment
-
I wasn't able to get the README instructions for extensions to work — it seems to me that the FROM gitpod/openvscode-server:latest
ENV OPENVSCODE_SERVER_ROOT="/home/.openvscode-server"
ENV OPENVSCODE="${OPENVSCODE_SERVER_ROOT}/bin/openvscode-server"
COPY packages/vscode-extension/extension.vsix /extension.vsix
ENTRYPOINT [ "/bin/sh", "-c", "exec ${OPENVSCODE_SERVER_ROOT}/bin/openvscode-server --host 0.0.0.0 --without-connection-token \"${@}\" --install-extension /extension.vsix --start-server", "--" ] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to write an E2E test for an extension using Playwright and
openvscode-server
. The reason is that most of the extension's UI is a webview that cannot be tested usingvscode-test
.Ideally I'd package the extension, then build a Docker image with this extension, run it, and then start the test. I followed the readme instructions and came up with this Dockerfile:
This seems to be installing the extension as part of the image build process, but when I run the image and browse to the container, the extension doesn't seem to be installed.
Am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions