forked from OpenRA/OpenRA
-
Notifications
You must be signed in to change notification settings - Fork 0
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
d5c940b
commit 9bca862
Showing
2 changed files
with
70 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,38 @@ | ||
# FROM mcr.microsoft.com/devcontainers/dotnet:0-6.0 | ||
FROM mcr.microsoft.com/devcontainers/base:debian-11 | ||
|
||
# Add backports. | ||
RUN echo "deb http://deb.debian.org/debian bullseye-backports main" > /etc/apt/sources.list.d/backports.list | ||
|
||
# Install dependencies. | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
file \ | ||
nsis \ | ||
imagemagick \ | ||
wine64 \ | ||
shellcheck | ||
|
||
# Install dotnet SDK and PowerShell. | ||
RUN curl -SOL https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb \ | ||
&& dpkg -i packages-microsoft-prod.deb \ | ||
&& rm packages-microsoft-prod.deb \ | ||
&& apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
dotnet-sdk-6.0 \ | ||
powershell | ||
|
||
# Install updated packages from backports. | ||
RUN apt-get update && sudo apt-get install -y --no-install-recommends \ | ||
curl/bullseye-backports \ | ||
wine64/bullseye-backports | ||
|
||
# Install AppImageTool. | ||
RUN curl -SLO https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage \ | ||
&& install appimagetool-x86_64.AppImage /usr/local/bin \ | ||
&& rm appimagetool-x86_64.AppImage | ||
|
||
|
||
# Download rcdedit. | ||
USER vscode | ||
RUN curl -SLo /home/vscode/rcedit-x64.exe https://github.com/electron/rcedit/releases/download/v1.1.1/rcedit-x64.exe | ||
ENV PATH=/usr/lib/wine/:$PATH |
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,32 @@ | ||
{ | ||
"name": "C# (.NET)", | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"EditorConfig.EditorConfig", | ||
"foxundermoon.shell-format", | ||
"GitHub.vscode-github-actions", | ||
"idleberg.nsis", | ||
"macabeus.vscode-fluent", | ||
"ms-dotnettools.csdevkit", | ||
"ms-dotnettools.csharp", | ||
"ms-python.python", | ||
"ms-vscode.cpptools-extension-pack", | ||
"ms-vscode.makefile-tools", | ||
"ms-vscode.powershell", | ||
"nico-castell.linux-desktop-file", | ||
"openra.oraide-vscode", | ||
"openra.vscode-openra-lua", | ||
"tamasfe.even-better-toml", | ||
"timonwong.shellcheck" | ||
] | ||
} | ||
}, | ||
"features": {}, | ||
"postAttachCommand": { | ||
"safe-dir": "git config --global --add safe.directory ${containerWorkspaceFolder}" | ||
} | ||
} |