We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8f1ee6 commit 5b157a6Copy full SHA for 5b157a6
1 file changed
Dockerfile
@@ -1,11 +1,13 @@
1
FROM codercom/code-server:4.4.0
2
ARG PYTHON_VERSION=3.10
3
4
-# Install common softwares
5
-RUN apt-get -y update && \
+USER root
+
6
+# Install system libraries
7
+RUN sudo apt-get -y update && \
8
curl -s https://raw.githubusercontent.com/InseeFrLab/onyxia/main/resources/common-software-docker-images.sh | bash -s && \
9
apt-get install -y --no-install-recommends cmake g++ && \
- rm -rf /var/lib/apt/lists/*
10
+ sudo rm -rf /var/lib/apt/lists/*
11
12
# Install QUARTO
13
ARG QUARTO_VERSION="0.9.508"
@@ -46,3 +48,5 @@ RUN code-server --install-extension ms-azuretools.vscode-docker
46
48
RUN code-server --install-extension njpwerner.autodocstring
47
49
RUN code-server --install-extension redhat.vscode-yaml
50
RUN code-server --install-extension quarto.quarto
51
52
+USER coder
0 commit comments