[DOCKER] Launch code-server on alpine-linux

Launch code-server on Alpine-Linux

It is necessary to build a Python development environment and conduct a survey. I started it with the following Dockerfile and found that it can be used implicitly. I used python official 3.7-alpine as the base image, but I think it can be started with normal alpine-linux.

FROM python:3.7-alpine

RUN apk --no-cache --update add alpine-sdk bash libstdc++ libc6-compat npm libx11-dev libxkbfile-dev libsecret-dev && \
    npm config set unsafe-perm true && \
    npm install -g code-server

ENTRYPOINT ["code-server", "--auth", "none", "--bind-addr", "0.0.0.0:8080"]
CMD [""]

Notes

Recommended Posts

Launch code-server on alpine-linux
code-server online environment (5) Launch code-server on Docker
code-server online environment (4) Launch code-server on the EC2 instance
Launch Lambda on Boto3
Launch local server on mac
Install and launch k3s on Manjaro Linux
Launch Flask application with Docker on Heroku