add notejs for git act runner.
This commit is contained in:
parent
3db2e0a756
commit
72209c944f
|
@ -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"]
|
||||
ENTRYPOINT ["tini","--","/opt/act/run.sh"]
|
||||
|
||||
# docker build --progress tty -f act_runner.dockerfile -t act_runner:develop .
|
Loading…
Reference in New Issue
Block a user