ci: set up container to build containers within podman #3
2 changed files with 0 additions and 48 deletions
|
@ -1,45 +0,0 @@
|
||||||
FROM ubuntu:22.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 \
|
|
||||||
--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
|
|
||||||
|
|
||||||
RUN python3 -m pip install pipx
|
|
|
@ -1,3 +0,0 @@
|
||||||
[[registry]]
|
|
||||||
insecure = true
|
|
||||||
location = "host.containers.internal:5000"
|
|
Loading…
Reference in a new issue