Install asdf from github releases
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Signed-off-by: Nikolai Rodionov <iam@allanger.xyz>
This commit is contained in:
2026-04-30 11:15:32 +02:00
parent 0f11e550e5
commit c5101d3e41

View File

@@ -26,10 +26,8 @@ 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.19.0
RUN curl -Lo asdf.tar.gz https://github.com/asdf-vm/asdf/releases/download/v0.19.0/asdf-v0.19.0-linux-amd64.tar.gz && \
tar -xzf asdf.tar.gz && \
mv asdf /usr/local/bin/
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/