runner-images/Dockerfile

20 lines
574 B
Docker

FROM ubuntu:22.04
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# hadolint ignore=DL3008
RUN apt-get update && apt-get install --no-install-recommends -y \
lsb-release \
gnupg \
curl \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
RUN curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg
COPY nodesource.list /etc/apt/sources.list.d/
# hadolint ignore=DL3008
RUN apt-get update && apt-get install --no-install-recommends -y \
nodejs \
&& rm -rf /var/lib/apt/lists/*