mirror of
https://github.com/hydroxycarbamide/dotfiles.git
synced 2025-05-07 05:19:07 -04:00
tmux: move plugins to config
This commit is contained in:
parent
36249eb571
commit
3b5aebcd93
122 changed files with 4210 additions and 2 deletions
34
dot_config/tmux/plugins/tmux-session-wizard/Dockerfile
Normal file
34
dot_config/tmux/plugins/tmux-session-wizard/Dockerfile
Normal file
|
@ -0,0 +1,34 @@
|
|||
# syntax = docker/dockerfile:1.4
|
||||
FROM nixos/nix:2.22.0 AS builder
|
||||
|
||||
WORKDIR /tmp/build
|
||||
RUN mkdir /tmp/nix-store-closure
|
||||
COPY . .
|
||||
|
||||
RUN \
|
||||
--mount=type=cache,target=/nix,from=nixos/nix:2.22.0,source=/nix \
|
||||
--mount=type=cache,target=/root/.cache \
|
||||
--mount=type=bind,target=/tmp/build \
|
||||
<<EOF
|
||||
nix \
|
||||
--extra-experimental-features "nix-command flakes" \
|
||||
--option filter-syscalls false \
|
||||
--show-trace \
|
||||
--log-format raw \
|
||||
build .#dev --out-link /tmp/output/result
|
||||
cp -R $(nix-store -qR /tmp/output/result) /tmp/nix-store-closure
|
||||
EOF
|
||||
|
||||
|
||||
FROM scratch
|
||||
|
||||
WORKDIR /workspace
|
||||
|
||||
COPY --from=builder /tmp/nix-store-closure /nix/store
|
||||
COPY --from=builder /tmp/output/ /workspace/
|
||||
ENV PATH=/workspace/result/bin:$PATH
|
||||
RUN ["ln","-s", "/workspace/result/bin", "/bin"]
|
||||
RUN ["mkdir","-p", "/usr/bin"]
|
||||
RUN ["ln","-s", "/workspace/result/bin/env", "/usr/bin/env"]
|
||||
# For bats
|
||||
RUN ["mkdir","--mode", "1777", "/tmp"]
|
Loading…
Add table
Add a link
Reference in a new issue