This commit is contained in:
2023-08-17 00:53:20 +00:00
parent 6a2d2c6e12
commit c1f2630569
3 changed files with 26 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
code-server --install-extension ms-vscode.cpptools-extension-pack
+20
View File
@@ -0,0 +1,20 @@
FROM ubuntu
RUN apt-get update \
&& apt-get install -y \
curl \
git \
sudo \
vim \
nano \
wget \
build-essential \
gdb \
&& rm -rf /var/lib/apt/lists/*
ARG USER=coder
RUN useradd --groups sudo --no-create-home --shell /bin/bash ${USER} \
&& echo "${USER} ALL=(ALL) NOPASSWD:ALL" >/etc/sudoers.d/${USER} \
&& chmod 0440 /etc/sudoers.d/${USER}
USER ${USER}
WORKDIR /home/${USER}
+5
View File
@@ -69,6 +69,11 @@ data "coder_parameter" "language" {
value = "c"
}
option {
name = "C++"
value = "c++"
}
option {
name = "Java"
value = "java"