-
-
Notifications
You must be signed in to change notification settings - Fork 754
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7b81b8c
commit fd14b28
Showing
3 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "ChilliCream Dev Container", | ||
"build": { | ||
"dockerfile": "dockerfile", | ||
"context": "." | ||
}, | ||
"features": { | ||
"ghcr.io/devcontainers/features/docker-in-docker:2": { | ||
"version": "latest", | ||
"enableNonRootDocker": "true", | ||
"moby": "true" | ||
} | ||
}, | ||
"postCreateCommand": "./init.sh" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Use the base image specified in the devcontainer.json | ||
FROM mcr.microsoft.com/devcontainers/base:bullseye | ||
|
||
# Install dependencies | ||
RUN apt-get update && apt-get install -y wget apt-transport-https curl | ||
|
||
# Install .NET 6 SDK | ||
RUN wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh \ | ||
&& chmod +x dotnet-install.sh \ | ||
&& ./dotnet-install.sh --channel 6.0 --install-dir /usr/share/dotnet --architecture arm64 \ | ||
&& ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet | ||
|
||
# Install .NET 7 SDK | ||
RUN ./dotnet-install.sh --channel 7.0 --install-dir /usr/share/dotnet --architecture arm64 | ||
|
||
# Install .NET 8 SDK (when available) | ||
RUN ./dotnet-install.sh --channel 8.0 --install-dir /usr/share/dotnet --architecture arm64 | ||
|
||
# Install Node.js LTS | ||
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - \ | ||
&& apt-get install -y nodejs | ||
|
||
# Clean up | ||
RUN rm dotnet-install.sh \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for more information: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
# https://containers.dev/guide/dependabot | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "devcontainers" | ||
directory: "/" | ||
schedule: | ||
interval: weekly |