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 [""]
Recommended Posts