Loading .gitlab-ci.yml +6 −0 Original line number Diff line number Diff line Loading @@ -74,6 +74,12 @@ build-ovsc: DIR: ovsc NAME: ovsc build-coder: extends: .build-base variables: DIR: coder NAME: coder .mirror-base: stage: build resource_group: lock_docker_build_$FROM_$TO Loading coder/Dockerfile 0 → 100644 +10 −0 Original line number Diff line number Diff line FROM docker.io/codercom/code-server:latest RUN whoami USER root 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 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 RUN cat /home/coder/.config/code-server/config.yaml RUN kubectl Loading
.gitlab-ci.yml +6 −0 Original line number Diff line number Diff line Loading @@ -74,6 +74,12 @@ build-ovsc: DIR: ovsc NAME: ovsc build-coder: extends: .build-base variables: DIR: coder NAME: coder .mirror-base: stage: build resource_group: lock_docker_build_$FROM_$TO Loading
coder/Dockerfile 0 → 100644 +10 −0 Original line number Diff line number Diff line FROM docker.io/codercom/code-server:latest RUN whoami USER root 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 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 RUN cat /home/coder/.config/code-server/config.yaml RUN kubectl