demyxsh / code-server Goto Github PK
View Code? Open in Web Editor NEWNon-root Docker image running Debian and code-server.
License: MIT License
Non-root Docker image running Debian and code-server.
License: MIT License
In debug mode, I have trouble in some situations that use soap and imagick, maybe interessing add the php packges from origin Dockerfile.
Hi there - when running docker-compose up
on this file, all the images just reply with exec user process caused: exec format error
and give up:
demyx_traefik | standard_init_linux.go:228: exec user process caused: exec format error demyx_traefik | standard_init_linux.go:228: exec user process caused: exec format error demyx_traefik | standard_init_linux.go:228: exec user process caused: exec format error demyx_traefik | standard_init_linux.go:228: exec user process caused: exec format error demyx_code exited with code 1 demyx_code | standard_init_linux.go:228: exec user process caused: exec format error demyx_code | standard_init_linux.go:228: exec user process caused: exec format error demyx_code | standard_init_linux.go:228: exec user process caused: exec format error demyx_code | standard_init_linux.go:228: exec user process caused: exec format error demyx_code | standard_init_linux.go:228: exec user process caused: exec format error demyx_traefik exited with code 1 demyx_traefik | standard_init_linux.go:228: exec user process caused: exec format error demyx_traefik | standard_init_linux.go:228: exec user process caused: exec format error demyx_traefik | standard_init_linux.go:228: exec user process caused: exec format error demyx_traefik | standard_init_linux.go:228: exec user process caused: exec format error demyx_traefik | standard_init_linux.go:228: exec user process caused: exec format error demyx_socket exited with code 1 demyx_socket | standard_init_linux.go:228: exec user process caused: exec format error demyx_socket | standard_init_linux.go:228: exec user process caused: exec format error demyx_socket | standard_init_linux.go:228: exec user process caused: exec format error demyx_socket | standard_init_linux.go:228: exec user process caused: exec format error demyx_socket | standard_init_linux.go:228: exec user process caused: exec format error demyx_socket | standard_init_linux.go:228: exec user process caused: exec format error demyx_socket | standard_init_linux.go:228: exec user process caused: exec format error demyx_socket | standard_init_linux.go:228: exec user process caused: exec format error demyx_socket | standard_init_linux.go:228: exec user process caused: exec format error demyx_socket | standard_init_linux.go:228: exec user process caused: exec format error
Any help would be much appreciated, thanks! If it helps, I'm running this on arm64.
Hi!
When I run docker-compose up
I'm getting the following error
▶ docker-compose up
demyx_socket is up-to-date
Starting demyx_traefik ... error
ERROR: for demyx_traefik Cannot start service demyx_traefik: Ports are not available: listen tcp 0.0.0.0:80: bind: address already in use
ERROR: for demyx_traefik Cannot start service demyx_traefik: Ports are not available: listen tcp 0.0.0.0:80: bind: address already in use
ERROR: Encountered errors while bringing up the project.
FROM codercom/code-server
USER root
ENV GO_VERSION=1.17.8 \
GOOS=linux \
GOARCH=amd64
RUN apt-get update && apt-get install -y cron curl \
&& mkdir -p /home/coder/project/ \
## install golang
&& curl -fsSL https://go.dev/dl/go$GO_VERSION.$GOOS-$GOARCH.tar.gz | tar -C /usr/local -xzv \
&& echo "export PATH=$PATH:/usr/local/go/bin" > /etc/profile \
## install extensions
&& mkdir -p /home/coder/extensions && code-server --extensions-dir=/home/coder/extensions \
--install-extension=golang.Go \
--install-extension=MS-CEINTL.vscode-language-pack-zh-hans \
--install-extension=Equinusocio.vsc-material-theme \
--install-extension=PKief.material-icon-theme \
--install-extension=Remisa.shellman \
--install-extension=timonwong.shellcheck \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*
EXPOSE 8080
CMD exec code-server /home/coder/project --host 0.0.0.0
all extensions had download on /home/coder/extensions, but all are not work, what is wrong with me? thanks
My first step with code-server was writing a simple "Hello, world!" in Python. Everything looks great, but the next step to execute my little code failed with
zsh: command not found: python
My attempt to install Python wasn't very successful:
apt-get update
Reading package lists... Done
E: List directory /var/lib/apt/lists/partial is missing. - Acquire (13: Permission denied)
Am I missing something the workflow, like write code in code-server container and execute it in another Python container approach?
Any help would be appreciated. Thanks!
Just wondering. If so I will try to get the ZSH and fonts config moved over to one of the linuxserver images.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.