Skip to content

Commit 1026be7

Browse files
committed
Removing unused files, updating devcontainer file (removing features) and updating docker compose
1 parent dd1113c commit 1026be7

File tree

5 files changed

+7
-89
lines changed

5 files changed

+7
-89
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@ FROM mcr.microsoft.com/devcontainers/dotnet:0-${VARIANT}
55
# Add .NET global tools path
66
ENV PATH $PATH:/home/vscode/.dotnet:/home/vscode/.dotnet/tools
77

8-
# [Choice] Node.js version: none, lts/*, 18, 16, 14
9-
ARG NODE_VERSION="none"
10-
RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
11-
12-
# [Optional] Uncomment this section to install additional OS packages.
8+
# Install additional OS packages
139
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
1410
&& apt-get -y install --no-install-recommends software-properties-common
1511

.devcontainer/devcontainer.json

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,7 @@
55
"dockerComposeFile": "docker-compose.yml",
66
"service": "app",
77
"workspaceFolder": "/workspace",
8-
// "containerEnv": {
9-
// "SA_PASSWORD": "P@ssw0rd!"
10-
// },
11-
// "remoteEnv": {
12-
// "SA_PASSWORD": "P@ssw0rd!"
13-
// },
8+
149
// Configure tool-specific properties.
1510
"customizations": {
1611
// Configure properties specific to VS Code.
@@ -37,7 +32,6 @@
3732
"ms-dotnettools.csharp",
3833
"ms-dotnettools.blazorwasm-companion",
3934
"ms-azuretools.vscode-bicep",
40-
"hashicorp.terraform",
4135
"ms-mssql.mssql",
4236
"ms-vscode.vscode-node-azure-pack",
4337
"ms-azuretools.vscode-docker",
@@ -60,24 +54,15 @@
6054
// Post create commands to run after the container is created.
6155
"postCreateCommand": "bash .devcontainer/sql/postCreateCommand.sh P@ssw0rd! './bin/Debug/' './.devcontainer/sql/'",
6256

63-
// Post start commands to run after the container is started.
64-
//"postStartCommand": "cd dab && dab start --config=dab.config.json",
65-
6657
// Features to add to the dev container. More info: https://containers.dev/features.
6758
"features": {
6859
"ghcr.io/devcontainers/features/azure-cli:1": {
6960
"installBicep": true,
7061
"installUsingPython": true,
7162
"version": "latest"
7263
},
73-
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
74-
"version": "latest"
75-
},
7664
"ghcr.io/azure/azure-dev/azd:latest": {
7765
"version": "latest"
78-
},
79-
"ghcr.io/devcontainers/features/terraform:1": {
80-
"version": "latest"
8166
}
8267
}
8368
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.

.devcontainer/docker-compose.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ services:
88
args:
99
# Update 'VARIANT' to pick a version of .NET: 6.0-focal, 7.0-bullseye
1010
VARIANT: "6.0-focal"
11-
# Optional version of Node.js
12-
NODE_VERSION: "none"
1311

1412
volumes:
1513
- ..:/workspace:cached
@@ -33,5 +31,10 @@ services:
3331
environment:
3432
SA_PASSWORD: P@ssw0rd!
3533
ACCEPT_EULA: Y
34+
deploy:
35+
resources:
36+
limits:
37+
cpus: '1'
38+
memory: 1024M
3639
# Add "forwardPorts": ["1433"] to **devcontainer.json** to forward MSSQL locally.
3740
# (Adding the "ports" property to this file will not forward from a Codespace.)

SECURITY.md

Lines changed: 0 additions & 41 deletions
This file was deleted.

SUPPORT.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)