Loading coder/Dockerfile +13 −1 Original line number Diff line number Diff line FROM docker.io/codercom/code-server:latest FROM docker.io/codercom/code-server:latest as base RUN whoami USER root RUN apt-get update RUN apt-get install -y \ npm \ python3 RUN rm -rf /var/lib/apt/lists/* FROM base as builder RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" RUN install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl FROM builder as prod USER coder RUN mkdir -p /home/coder/.config/code-server/ RUN echo "bind-addr: 127.0.0.1:8080\nauth: none\ncert: false" > /home/coder/.config/code-server/config.yaml Loading Loading
coder/Dockerfile +13 −1 Original line number Diff line number Diff line FROM docker.io/codercom/code-server:latest FROM docker.io/codercom/code-server:latest as base RUN whoami USER root RUN apt-get update RUN apt-get install -y \ npm \ python3 RUN rm -rf /var/lib/apt/lists/* FROM base as builder RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" RUN install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl FROM builder as prod USER coder RUN mkdir -p /home/coder/.config/code-server/ RUN echo "bind-addr: 127.0.0.1:8080\nauth: none\ncert: false" > /home/coder/.config/code-server/config.yaml Loading