Remove .devcontainer from git tracking and add to .gitignore

This commit is contained in:
Mark Pollack
2025-05-10 09:12:48 -04:00
parent 7c7b8145fb
commit dd7a0469fb
4 changed files with 1 additions and 68 deletions

View File

@@ -1,10 +0,0 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.245.2/containers/ubuntu/.devcontainer/base.Dockerfile
# [Choice] Ubuntu version (use ubuntu-22.04 or ubuntu-18.04 on local arm64/Apple Silicon): ubuntu-22.04, ubuntu-20.04, ubuntu-18.04
ARG VARIANT="jammy"
FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT}
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends direnv

View File

@@ -1,36 +0,0 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.245.2/containers/ubuntu
{
"name": "acme-fitness-store",
"build": {
"dockerfile": "Dockerfile",
// Update 'VARIANT' to pick an Ubuntu version: jammy / ubuntu-22.04, focal / ubuntu-20.04, bionic /ubuntu-18.04
// Use ubuntu-22.04 or ubuntu-18.04 on local arm64/Apple Silicon.
"args": {
"VARIANT": "ubuntu-22.04"
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
"onCreateCommand": "./.devcontainer/scripts/onCreateCommand.sh",
// Use 'postCreateCommand' to run commands after the container is created.
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode",
"hostRequirements": {
"cpus": 2
},
"containerEnv": {
"GRADLE_USER_HOME": "/home/vscode", // required because the java feature is not setting this correctly
"M2": "/home/vscode" // required because the java feature is not setting this correctly
},
"features": {
"azure-cli": "latest",
"docker-from-docker": "latest",
"node": "lts",
"ghcr.io/devcontainers/features/java:1": {
"version": "17",
"installGradle": true,
"installMaven": true
}
}
}

View File

@@ -1,22 +0,0 @@
#!/bin/bash
#
# Copyright 2023-2024 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
set -x
az extension add --name spring

1
.gitignore vendored
View File

@@ -44,3 +44,4 @@ shell.log
/vector-stores/spring-ai-cassandra-store/nbproject/
**/.claude/settings.local.json
.devcontainer