This repository was archived by the owner on Oct 3, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
#syntax=docker/dockerfile:1.4.3
2
2
3
3
ARG ref=main
4
+ FROM ghcr.io/nicholasdille/docker-setup/yasu:${ref} AS yasu
4
5
FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
5
6
6
7
ARG name
7
8
ARG version
9
+ COPY --from=yasu / /
8
10
9
11
RUN <<EOF
10
12
curl --silent --location "https://github.com/lima-vm/lima/releases/download/v${version}/lima-${version}-Linux-${arch}.tar.gz" \
11
13
| tar --extract --gzip --directory="${prefix}${target}" --no-same-owner
12
- "${prefix}${target}/bin/limactl" completion bash >"${prefix}${target}/share/bash-completion/completions/limactl"
13
- "${prefix}${target}/bin/limactl" completion fish >"${prefix}${target}/share/fish/vendor_completions.d/limactl.fish"
14
- "${prefix}${target}/bin/limactl" completion zsh >"${prefix}${target}/share/zsh/vendor-completions/_limactl"
14
+ yasu nobody "${prefix}${target}/bin/limactl" completion bash >"${prefix}${target}/share/bash-completion/completions/limactl"
15
+ yasu nobody "${prefix}${target}/bin/limactl" completion fish >"${prefix}${target}/share/fish/vendor_completions.d/limactl.fish"
16
+ yasu nobody "${prefix}${target}/bin/limactl" completion zsh >"${prefix}${target}/share/zsh/vendor-completions/_limactl"
15
17
EOF
You can’t perform that action at this time.
0 commit comments