Skip to content

Commit 4ef4639

Browse files
Merge pull request #67 from 99linesofcode/set-zoxide-version-from-cli-arg
feat(zoxide): command line configurable
2 parents 8155f93 + 34bfeb7 commit 4ef4639

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

devcontainer/base/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ FROM ${BASE_IMAGE}
88
LABEL maintainer="Jordy Schreuders <jordy@schreuders.it>"
99

1010
ARG DEBIAN_FRONTEND=noninteractive
11+
ARG ZOXIDE_VERSION="0.9.4"
1112
ARG PUID=1000
1213
ARG PGID=1000
1314
ARG TZ="Europe/Amsterdam"
@@ -58,4 +59,5 @@ RUN \
5859
&& echo "*** Installing zoxide ***" \
5960
&& ASDF_DIR="${HOME}/.asdf" . /config/.asdf/asdf.sh \
6061
&& asdf plugin add zoxide https://github.com/nyrst/asdf-zoxide.git \
61-
&& asdf install zoxide latest
62+
&& asdf install zoxide ${ZOXIDE_VERSION} \
63+
&& asdf global zoxide ${ZOXIDE_VERSION}

0 commit comments

Comments
 (0)