alpine image bundling asdf-vm/asdf, built everyday by github-actions for new releases
2.5K
Latest:
alpine image bundling asdf-vm/asdf, built everyday by github-actions
The tag is formatted as follows: [ASDF_VERSION]
asdf: github
docker run jjaniec/asdf
Dockerfile:
FROM alpine
ARG ASDF_VERSION
USER root
RUN apk add --update --no-cache --upgrade \
git \
curl \
gnupg \
bash \
sudo \
grep # Same error without upgrading grep when adding a plugin https://github.com/jish/pre-commit/issues/265#issuecomment-423303192
RUN addgroup -S asdfgrp && \
addgroup -S sudo && \
adduser -S asdfuser -G asdfgrp -s /bin/ash && \
adduser asdfuser sudo
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
USER asdfuser
WORKDIR /home/asdfuser
RUN git clone https://github.com/asdf-vm/asdf.git .asdf --branch ${ASDF_VERSION}
ENV PATH $PATH:/home/asdfuser/.asdf/bin
CMD []
ENTRYPOINT [ "asdf" ]
Content type
Image
Digest
sha256:085309962…
Size
20.4 MB
Last updated
about 2 years ago
docker pull jjaniec/asdf