add python variant
This commit is contained in:
16
python/Containerfile
Normal file
16
python/Containerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM code-basic
|
||||
USER root
|
||||
ENV HOME=/root
|
||||
|
||||
# Install alpine packages
|
||||
RUN apk add --no-cache python3 python3-doc py3-pip py3-pip-doc
|
||||
|
||||
# Install pip packages
|
||||
RUN pip install --no-cache-dir python-lsp-server
|
||||
|
||||
# Add neovim config
|
||||
COPY nvim /etc/xdg/nvim
|
||||
|
||||
# Configure environment
|
||||
USER 1000:1000
|
||||
ENV HOME=/tmp
|
||||
Reference in New Issue
Block a user