Sign inSign up

jjaniec/asdf

By jjaniec

•Updated about 2 years ago

alpine image bundling asdf-vm/asdf, built everyday by github-actions for new releases

Image
3

2.5K

jjaniec/asdf repository overview

⁠asdf

Latest:

alpine image bundling asdf-vm/asdf, built everyday by github-actions

Github actions workflow⁠

The tag is formatted as follows: [ASDF_VERSION]


⁠Sources:

This image⁠

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" ]

Tag summary

Content type

Image

Digest

sha256:085309962…

Size

20.4 MB

Last updated

about 2 years ago

docker pull jjaniec/asdf