From 91de5eb856c29e0d8327fa060c79a8b80b29b569 Mon Sep 17 00:00:00 2001 From: Michael Simons Date: Mon, 4 Nov 2024 15:29:23 -0600 Subject: [PATCH] Remove the unused ubuntu-20.04-webassembly-net8 Dockerfile --- .../20.04/webassembly-net8/amd64/Dockerfile | 74 ------------------- src/ubuntu/manifest.json | 12 --- 2 files changed, 86 deletions(-) delete mode 100644 src/ubuntu/20.04/webassembly-net8/amd64/Dockerfile diff --git a/src/ubuntu/20.04/webassembly-net8/amd64/Dockerfile b/src/ubuntu/20.04/webassembly-net8/amd64/Dockerfile deleted file mode 100644 index 0604b5e1d..000000000 --- a/src/ubuntu/20.04/webassembly-net8/amd64/Dockerfile +++ /dev/null @@ -1,74 +0,0 @@ -FROM mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-20.04-coredeps - -# Dependencies for WebAssembly build -RUN apt-get update \ - && apt-get install -y \ - libssl-dev \ - libtinfo-dev \ - locales \ - nodejs \ - node-gyp \ - npm \ - wget \ - unzip \ - && rm -rf /var/lib/apt/lists/* - -ENV CMAKE_VERSION=3.17 -RUN curl -sSL https://cmake.org/files/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}.0-Linux-x86_64.tar.gz -o cmake.tar.gz \ - && tar -xf cmake.tar.gz --strip 1 -C /usr/local \ - && rm cmake.tar.gz - -# WebAssembly build needs working UTF-8 locale -RUN locale-gen en_US.UTF-8 - -# WebAssembly build needs typescript -RUN npm i -g typescript - -# Install Emscripten toolchain -ENV EMSCRIPTEN_VERSION=3.1.34 -ENV EMSCRIPTEN_PATH=/usr/local/emscripten -ENV EMSDK_PATH=/usr/local/emscripten/emsdk - -RUN mkdir ${EMSCRIPTEN_PATH} \ - && cd ${EMSCRIPTEN_PATH} \ - && git clone https://github.com/emscripten-core/emsdk.git ${EMSDK_PATH} \ - && cd ${EMSDK_PATH} \ - && git checkout ${EMSCRIPTEN_VERSION} \ - && ./emsdk install ${EMSCRIPTEN_VERSION}-upstream \ - && ./emsdk activate ${EMSCRIPTEN_VERSION}-upstream \ - && ./upstream/emscripten/embuilder build MINIMAL \ - && chmod -R 777 ${EMSCRIPTEN_PATH} - -# Install V8 Engine -SHELL ["/bin/bash", "-c"] - -ENV V8_VERSION=8.5.183 -RUN curl -sSL https://netcorenativeassets.blob.core.windows.net/resource-packages/external/linux/chromium-v8/v8-linux64-rel-${V8_VERSION}.zip -o ./v8.zip \ - && 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 - -# Install Wasi toolchain -ENV WASI_SDK_VERSION=16 -ENV WASI_SDK_PATH=/usr/local/wasi-sdk -ENV WASI_SDK_URL=https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VERSION}/wasi-sdk-${WASI_SDK_VERSION}.0-linux.tar.gz - -RUN mkdir -p ${WASI_SDK_PATH} \ - && cd /tmp \ - && curl -L -o /tmp/wasi-sdk.tar.gz ${WASI_SDK_URL} \ - && tar --strip-components=1 -xvzf /tmp/wasi-sdk.tar.gz -C ${WASI_SDK_PATH} \ - && echo ${WASI_SDK_VERSION} > ${WASI_SDK_PATH}/wasi-sdk-version.txt \ - && rm /tmp/wasi-sdk.tar.gz - -ENV WASMTIME_VERSION=5.0.0 -ENV WASMTIME_PATH=/usr/local/wasmtime -ENV WASMTIME_URL=https://github.com/bytecodealliance/wasmtime/releases/download/v${WASMTIME_VERSION}/wasmtime-v${WASMTIME_VERSION}-x86_64-linux.tar.xz - -RUN mkdir -p ${WASMTIME_PATH} \ - && cd /tmp \ - && curl -L -o /tmp/wasmtime.tar.xz ${WASMTIME_URL} \ - && tar --strip-components=1 -xvf /tmp/wasmtime.tar.xz -C ${WASMTIME_PATH} \ - && echo ${WASMTIME_VERSION} > ${WASMTIME_PATH}/wasmtime-version.txt \ - && rm /tmp/wasmtime.tar.xz \ - && ln -s ${WASMTIME_PATH}/wasmtime /bin/wasmtime diff --git a/src/ubuntu/manifest.json b/src/ubuntu/manifest.json index e3b931a05..0be32249c 100644 --- a/src/ubuntu/manifest.json +++ b/src/ubuntu/manifest.json @@ -133,18 +133,6 @@ } ] }, - { - "platforms": [ - { - "dockerfile": "src/ubuntu/20.04/webassembly-net8/amd64", - "os": "linux", - "osVersion": "focal", - "tags": { - "ubuntu-20.04-webassembly-net8": {} - } - } - ] - }, { "platforms": [ {