feat: add ubuntu-2404 based image
Some checks failed
/ pre-run (push) Successful in 23s
/ post-run (push) Has been skipped
/ build-images (ubuntu-2204) (push) Successful in 8m14s
/ build-images (ubuntu-2404) (push) Failing after 2m23s

This commit is contained in:
Marc 2024-07-28 23:40:55 -04:00
parent 1646584afc
commit 0fea8d3168
Signed by: marc
GPG key ID: 048E042F22B5DC79
3 changed files with 48 additions and 1 deletions

View file

@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
image-name: ['ubuntu-2204']
image-name: ['ubuntu-2204', 'ubuntu-2404']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5

View file

@ -0,0 +1,44 @@
FROM ubuntu:24.04 as skeleton
ENV NODE_VERSION "20.12.2"
ENV NVM_VERSION "0.37.2"
ENV DEBIAN_FRONTEND noninteractive
ENV TZ Etc/UTC
RUN apt update && \
apt upgrade -y && \
apt install -y \
curl \
podman \
jq \
git \
xz-utils \
ca-certificates \
python3 \
python3-venv \
python3-pip \
pipx \
--no-install-recommends \
--autoremove && \
apt-get clean
COPY ./files/registries.conf /etc/containers/registries.conf
FROM skeleton as runner
WORKDIR /runner
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v$NVM_VERSION/install.sh | bash
RUN . $HOME/.nvm/nvm.sh && \
nvm install $NODE_VERSION && \
nvm use $NODE_VERSION && \
nvm cache clear
ENV NVM_DIR $HOME/.nvm
ENV PATH /root/.nvm/versions/node/v$NODE_VERSION/bin:$PATH
RUN node --version
RUN corepack enable

View file

@ -0,0 +1,3 @@
[[registry]]
insecure = true
location = "host.containers.internal:5000"