2024-04-09 04:29:03 +00:00
|
|
|
FROM ubuntu:22.04
|
|
|
|
|
2024-04-14 00:22:24 +00:00
|
|
|
ENV NODE_VERSION="20.12.2"
|
|
|
|
|
2024-04-09 04:29:03 +00:00
|
|
|
RUN apt update && apt upgrade -y --autoremove
|
|
|
|
|
|
|
|
RUN apt install -y \
|
|
|
|
jq \
|
|
|
|
podman \
|
2024-04-14 00:22:24 +00:00
|
|
|
git \
|
|
|
|
xz-utils \
|
|
|
|
curl \
|
|
|
|
ca-certificates \
|
|
|
|
--no-install-recommends
|
|
|
|
|
|
|
|
# Node needs to be installed to ensure that actions can run in the
|
|
|
|
# runner.
|
|
|
|
|
|
|
|
WORKDIR tmp
|
|
|
|
|
|
|
|
RUN curl https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.xz --output /tmp/node-v$NODE_VERSION-linux-x64.tar.xz && \
|
|
|
|
tar -xf /tmp/node-v$NODE_VERSION-linux-x64.tar.xz && \
|
|
|
|
cp -r /tmp/node-v$NODE_VERSION-linux-x64/bin/* /bin/ && \
|
|
|
|
cp -r /tmp/node-v$NODE_VERSION-linux-x64/lib/* /lib/ && \
|
|
|
|
rm -rf /tmp/node-*
|
|
|
|
|
|
|
|
WORKDIR /
|
2024-04-09 04:29:03 +00:00
|
|
|
|
|
|
|
COPY ./files/registries.conf /etc/containers/registries.conf
|