rspec/ci/Dockerfile

18 lines
709 B
Docker
Raw Normal View History

2022-12-13 23:03:18 +01:00
FROM public.ecr.aws/docker/library/python:3.9-slim-buster
2020-06-23 11:33:04 +02:00
2023-12-07 16:14:58 +01:00
# Also install NodeJS 16 to run Sonar analysis
2020-06-26 11:00:15 +02:00
RUN apt-get update && \
2023-12-07 16:14:58 +01:00
apt-get install -y --no-install-recommends jq php-json-schema asciidoctor pipenv git curl \
ca-certificates gnupg && \
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | \
gpg --dearmor -o /etc/apt/nodesource-keyring.gpg && \
echo "deb [signed-by=/etc/apt/nodesource-keyring.gpg] https://deb.nodesource.com/node_20.x nodistro main" \
2023-12-07 16:14:58 +01:00
> /etc/apt/sources.list.d/nodesource.list && \
apt-get update && \
apt-get -y install nodejs && \
2023-12-07 16:14:58 +01:00
rm -rf /var/lib/apt/lists/*
2021-06-08 15:21:29 +02:00
2020-06-26 11:00:15 +02:00
CMD ["bash"]