Skip to content

Binary files corresponds to a CPU architecture error #3483

Answered by ghost
threo9 asked this question in Q&A
Discussion options

You must be logged in to vote

Im using a Docker container to run code-server 3.10.2 using cdr/deploy-code-server on https://railway.app. I ran into the same problem but with the C/C++ Support extension from Microsoft. Instead of manually downloading and installing everytime, I added this to my Dockerfile:

RUN sudo apt-get install --no-install-recommends -y wget

RUN sudo wget https://github.com/microsoft/vscode-cpptools/releases/download/1.4.1/cpptools-linux.vsix -P /home/coder/vsix/

RUN code-server --install-extension /home/coder/vsix/cpptools-linux.vsix

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@threo9
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by jsjoeio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3477 on May 26, 2021 17:49.