Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlona Tomkowicz <32700855+ilonatommy@users.noreply.github.com>2022-02-25 17:01:01 +0300
committerGitHub <noreply@github.com>2022-02-25 17:01:01 +0300
commitef785f5db2782f85176b3334449b7d1229ae16dd (patch)
treec8c2bb364b8704e985ccff6aa337b20e8d2f7ec4 /.devcontainer
parent31bd72de7570200d46314683f6b556cdbebdd6e3 (diff)
[wasm][debugger] Run debugger test in codespace (#64746)
* Tmp change for debugging. * Added chromium, needed for running debugger tests. * Corrected line breaking, removed suso. * Removed update duplicate. * Prevent regex on null. * Set special env variable only for containers. * Locally docker build crashes without it. * Applied @eerhardt suggestion. * Moved env assignment to a place that is executed by onCreateCommand.sh * Revert accidential new line removal. * Upgrade is unnecessary, works without it. * Moved all logic to C# code. * Remove duplicated line. * Applied @thays's and @lewing's comments. * Enabling @radical approach for chromium installation. Co-authored-by: Ankit Jain <radical@gmail.com>
Diffstat (limited to '.devcontainer')
-rw-r--r--.devcontainer/Dockerfile17
1 files changed, 16 insertions, 1 deletions
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
index 2634a9528f1..6d1a5acb6c3 100644
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -18,4 +18,19 @@ RUN curl -sSL "https://netcorenativeassets.blob.core.windows.net/resource-packag
&& unzip ./v8.zip -d /usr/local/v8 \
&& echo $'#!/usr/bin/env bash\n\
"/usr/local/v8/d8" --snapshot_blob="/usr/local/v8/snapshot_blob.bin" "$@"\n' > /usr/local/bin/v8 \
- && chmod +x /usr/local/bin/v8 \ No newline at end of file
+ && chmod +x /usr/local/bin/v8
+
+# install chromium dependencies to run debugger tests:
+RUN sudo apt-get install libnss3 -y \
+ && apt-get install libatk1.0-0 -y \
+ && apt-get install libatk-bridge2.0-0 -y \
+ && apt-get install libcups2 -y \
+ && apt-get install libdrm2 -y \
+ && apt-get install libxkbcommon-x11-0 -y \
+ && apt-get install libxcomposite-dev -y \
+ && apt-get install libxdamage1 -y \
+ && apt-get install libxrandr2 -y \
+ && apt-get install libgbm-dev -y \
+ && apt-get install libpango-1.0-0 -y \
+ && apt-get install libcairo2 -y \
+ && apt-get install libasound2 -y \ No newline at end of file