Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dex4er/docker-debian-asdf

Container image with Debian and asdf
https://github.com/dex4er/docker-debian-asdf

Last synced: 11 days ago
JSON representation

Container image with Debian and asdf

Awesome Lists containing this project

README

        

# debian-asdf

[![GitHub](https://img.shields.io/github/last-commit/dex4er/docker-debian-asdf/main?logo=github&label=GitHub)](https://github.com/dex4er/docker-debian-asdf)
[![CI](https://github.com/dex4er/docker-debian-asdf/actions/workflows/ci.yaml/badge.svg)](https://github.com/dex4er/docker-debian-asdf/actions/workflows/ci.yaml)
[![Trunk Check](https://github.com/dex4er/docker-debian-asdf/actions/workflows/trunk.yaml/badge.svg)](https://github.com/dex4er/docker-debian-asdf/actions/workflows/trunk.yaml)
[![Docker Image Version](https://img.shields.io/docker/v/dex4er/debian-asdf/latest?label=docker&logo=docker)](https://hub.docker.com/r/dex4er/debian-asdf)
[![Amazon ECR Image Version](https://img.shields.io/docker/v/dex4er/debian-asdf?label=Amazon%20ECR&logo=Amazon+AWS)](https://gallery.ecr.aws/dex4er/debian-asdf)

Container image with [asdf](https://asdf-vm.com/) installer based on Debian
11 "bullseye" and Debian 12 "bookworm".

Additional Debian packages:

- [ca-certificates](https://packages.debian.org/bullseye/ca-certificates)
- [curl](https://packages.debian.org/bullseye/curl)
- [git](https://packages.debian.org/bullseye/git)
- [make](https://packages.debian.org/bullseye/make)
- [procps](https://packages.debian.org/bullseye/procps)
- [unzip](https://packages.debian.org/bullseye/unzip)
- [xz-utils](https://packages.debian.org/bullseye/xz-utils)

## Tags

- `asdf-X.Y.Z-bookworm-YYYYmmdd`, `asdf-X.Y.Z-bookworm`, `bookworm`, `asdf-X.Y.Z`, `latest`.
- `asdf-X.Y.Z-bullseye-YYYYmmdd`, `asdf-X.Y.Z-bullseye`, `bullseye`.

## Usage

CLI:

```shell
docker pull dex4er/debian-asdf
docker run dex4er/debian-asdf bash -c "asdf plugin add nodejs && asdf install nodejs latest && asdf global nodejs latest && node -v"
```

Dockerfile:

```Dockerfile
FROM dex4er/debian-asdf:latest
COPY .tool-versions /root/
RUN cat .tool-versions | while read plugin version; do asdf plugin add $plugin; done
RUN asdf install
RUN asdf list
```

## License

[License information](https://github.com/asdf-vm/asdf/blob/master/LICENSE) for
[asdf](https://asdf-vm.com/) project.

[License
information](https://github.com/dex4er/docker-debian-asdf/blob/main/LICENSE) for
container image project.