@@ -2,7 +2,7 @@ FROM ubuntu:20.04
22
33ARG UBUNTU_VERSION=20.04
44ARG DEBIAN_FRONTEND=noninteractive
5- ARG PACKAGES="libffi-dev libicu-dev build-essential libssl-dev ca-certificates software-properties-common jq sed grep git curl wget zip python3-pip nodejs "
5+ ARG PACKAGES="libffi-dev libicu-dev build-essential libssl-dev ca-certificates software-properties-common jq sed grep git curl wget zip python3-pip"
66
77ENV USERNAME="runner"
88ENV USERID=1000
@@ -26,20 +26,24 @@ RUN mkdir /helper-scripts \
2626 && mkdir -p /kaniko/workspace
2727
2828# Copy image helper scripts
29- ADD ./helper-scripts/detect-setup.sh /helper-scripts/detect-setup.sh
30- ADD ./helper-scripts/gh-entrypoint.sh /helper-scripts/gh-entrypoint.sh
31- ADD ./helper-scripts/kaniko-wrapper.sh /helper-scripts/kaniko-wrapper.sh
32- ADD ./helper-scripts/translate-aarch.sh /helper-scripts/translate-aarch.sh
29+ ADD ./helper-scripts/ /helper-scripts/
3330
3431RUN chmod -R 755 /helper-scripts
3532
3633# install packages along with jq so we can parse JSON
3734# add additional packages as necessary
3835RUN apt-get update \
36+ && curl -sL https://deb.nodesource.com/setup_lts.x | bash - \
3937 && apt-get install -y ${PACKAGES} \
4038 && rm -rf /var/lib/apt/lists/* \
4139 && apt-get clean
4240
41+ # install nodejs
42+ RUN curl -sL https://deb.nodesource.com/setup_lts.x | bash - \
43+ && apt-get install -y nodejs \
44+ && rm -rf /var/lib/apt/lists/* \
45+ && apt-get clean
46+
4347# install awesoeme ci
4448RUN export ARCH=$(/helper-scripts/translate-aarch.sh a-short) \
4549 && curl -L -O https://github.com/fullstack-devops/awesome-ci/releases/download/${AWESOME_CI_VERSION}/awesome-ci_${AWESOME_CI_VERSION}_linux-${ARCH} \
0 commit comments