Switch to rocky
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
2026-04-30 10:38:38 +02:00
parent 14f84fd14a
commit 4a600b1fa4

View File

@@ -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/