Skip to content

Commit

Permalink
Revert "feat: try to rebase to github runner image"
Browse files Browse the repository at this point in the history
This reverts commit 5f99001.
  • Loading branch information
SonicGD committed Jul 3, 2024
1 parent dea0196 commit 91c790c
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
FROM ghcr.io/actions/actions-runner:latest as common
FROM ubuntu:20.04 as common

ARG DEBIAN_FRONTEND=noninteractive
ARG GITHUB_CLI_VERSION=2.42.0

USER root

RUN apt-get update \
# && apt search liblttng \
&& apt-get install -y --no-install-recommends \
ca-certificates \
curl \
Expand All @@ -17,14 +14,14 @@ RUN apt-get update \
unzip \
gnupg2 \
# .NET dependencies
# libc6 \
# libgcc1 \
# libgssapi-krb5-2 \
# libicu70 \
# libssl3 \
# libstdc++6 \
# zlib1g \
# liblttng-ust-ctl4 \
libc6 \
libgcc1 \
libgssapi-krb5-2 \
libicu66 \
libssl1.1 \
libstdc++6 \
zlib1g \
liblttng-ust-ctl4 \
rsync \
openssh-client \
sudo \
Expand Down Expand Up @@ -55,17 +52,12 @@ COPY global.json /global.json

ENV PATH "$PATH:/root/.dotnet"

USER runner

FROM common as wasm
USER root
# Emscripten
RUN mkdir /ems \
&& cd /ems \
&& git clone https://github.com/emscripten-core/emsdk.git \
&& cd /ems/emsdk \
&& ./emsdk install latest \
&& ./emsdk activate latest \
&& dotnet workload install wasm-tools

USER runner
&& dotnet workload install wasm-tools \

0 comments on commit 91c790c

Please sign in to comment.