diff --git a/Containerfile b/Containerfile index 5c74e66..6f0e674 100644 --- a/Containerfile +++ b/Containerfile @@ -1,12 +1,35 @@ -FROM registry.hub.docker.com/library/alpine:3.23.4 -RUN apk update --no-cache && \ - apk add yq gettext openssl curl jq perl git git-lfs netavark \ - buildah cni-plugins iptables ip6tables fuse-overlayfs bash sed --no-cache +FROM rockylinux:10 -RUN curl -1sLf 'https://dl.cloudsmith.io/public/task/task/setup.alpine.sh' | bash && \ - apk add task +RUN dnf -y update && \ + dnf -y install \ + epel-release \ + dnf-plugins-core && \ + dnf -y install \ + yq \ + gettext \ + openssl \ + curl \ + jq \ + perl \ + git \ + git-lfs \ + netavark \ + aardvark-dns \ + buildah \ + fuse-overlayfs \ + iptables \ + bash \ + sed && \ + dnf clean all -RUN echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && \ - apk update && apk add asdf@testing +RUN curl -1sLf 'https://dl.cloudsmith.io/public/task/task/setup.rpm.sh' | bash && \ + dnf -y install task && \ + dnf clean all +RUN git clone https://github.com/asdf-vm/asdf.git /opt/asdf --branch v0.15.0 + +ENV ASDF_DIR=/opt/asdf +ENV PATH="/opt/asdf/bin:/opt/asdf/shims:${PATH}" + +RUN echo '. /opt/asdf/asdf.sh' > /etc/profile.d/asdf.sh COPY ./scripts/ /usr/bin/