summaryrefslogtreecommitdiff
path: root/.devcontainer
diff options
context:
space:
mode:
authorMatthieuCoder <matthieu@matthieu-dev.xyz>2022-12-31 17:07:30 +0400
committerMatthieuCoder <matthieu@matthieu-dev.xyz>2022-12-31 17:07:30 +0400
commit65652932f77ce194a10cbc8dd42f3064e2c1a132 (patch)
tree4ca18a9317c4e561e917e9dd0cf39b695b43bc34 /.devcontainer
parenta16bafdf5b0ec52fa0d73458597eee7c34ea5e7b (diff)
updates and bazel removal
Diffstat (limited to '.devcontainer')
-rw-r--r--.devcontainer/Dockerfile12
-rw-r--r--.devcontainer/devcontainer.json1
2 files changed, 3 insertions, 10 deletions
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
index 63585dc..a0da8ab 100644
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -3,20 +3,14 @@ ARG NONROOT_USER=vscode
# Install required programs for the container
RUN apt update -y && apt install libssl-dev pkg-config apt-transport-https curl sudo gnupg python build-essential ca-certificates lsb-release -y && \
- # Add bazel repository gpg keys
- curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/bazel.gpg && \
- # Add docker repository gpg keys
+# Add docker repository gpg keys
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg && \
# Add docker repository apt source
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list && \
# Add bazel repository apt source
echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list && \
- # Install bazel tools
- curl -L https://github.com/bazelbuild/buildtools/releases/download/4.2.0/buildifier -o /usr/bin/buildifier && \
- curl -L https://github.com/bazelbuild/buildtools/releases/download/4.2.0/buildozer-linux-amd64 -o /usr/bin/buildozer && \
- chmod +x /usr/bin/buildifier && chmod +x /usr/bin/buildozer && \
- # Install docker & bazel
- apt update -y && apt install bazel docker-ce-cli -y
+ # Install docker
+ apt update -y && apt install docker-ce-cli -y
# Add the user to the sudo group
RUN adduser $NONROOT_USER sudo
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index a962bc7..b2c9fc8 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -14,7 +14,6 @@
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"matklad.rust-analyzer",
- "bazelbuild.vscode-bazel",
"vadimcn.vscode-lldb",
"ms-azuretools.vscode-docker",
"golang.go",