Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Commit 1be5540

Browse files
author
Lukas Holzer
committed
feat: add asdf version manager
1 parent f3638e8 commit 1be5540

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

Dockerfile

+16
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,22 @@ RUN wget https://github.com/jgm/pandoc/releases/download/$PANDOC_VERSION/pandoc-
213213

214214
RUN adduser --system --disabled-password --uid 2500 --group --quiet buildbot --home /opt/buildhome
215215

216+
217+
################################################################################
218+
#
219+
# ASDF Version Manager
220+
# https://asdf-vm.com/
221+
#
222+
################################################################################
223+
224+
USER buildbot
225+
226+
RUN git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.10.2 && \
227+
/bin/bash -c ". $HOME/.asdf/asdf.sh"
228+
229+
ENV PATH "$PATH:/opt/buildhome/.asdf/bin"
230+
231+
216232
################################################################################
217233
#
218234
# Ruby

focal.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ fileExistenceTests:
3535
gid: 2500 # buildbot
3636

3737
commandTests:
38+
- name: "Asdf Version Manager"
39+
command: "asdf"
40+
args: ["--version"]
41+
expectedOutput: ["v0.10.2-7e7a1fa"]
42+
3843
- name: "zstd compression library"
3944
command: "zstd"
4045
args: ["--version"]

0 commit comments

Comments
 (0)