diff --git a/act_runner.dockerfile b/act_runner.dockerfile index 7ea8a89..be9a873 100644 --- a/act_runner.dockerfile +++ b/act_runner.dockerfile @@ -13,9 +13,12 @@ RUN sed -i 's@//.*archive.ubuntu.com@//mirrors.ustc.edu.cn@g' /etc/apt/sources.l && curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc \ && chmod a+r /etc/apt/keyrings/docker.asc \ && echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null \ + && curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - \ && apt update \ - && apt install -y docker-ce-cli + && apt install -y docker-ce-cli nodejs COPY resources/act_runner.sh /opt/act/run.sh -ENTRYPOINT ["tini","--","/opt/act/run.sh"] \ No newline at end of file +ENTRYPOINT ["tini","--","/opt/act/run.sh"] + +# docker build --progress tty -f act_runner.dockerfile -t act_runner:develop . \ No newline at end of file