Install asdf from github releases
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Signed-off-by: Nikolai Rodionov <iam@allanger.xyz>
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user