add openvi, .local/bin

This commit is contained in:
Jason Swank 2023-11-19 22:11:28 -05:00
parent 9145f384ca
commit 541bfdace3
4 changed files with 4 additions and 5 deletions

View File

@ -8,16 +8,14 @@ LABEL org.opencontainers.image.title=jswank/alpine-cli \
RUN apk -U --no-cache add \ RUN apk -U --no-cache add \
doas doas-sudo-shim \ doas doas-sudo-shim \
bash less \ bash less openvi \
coreutils grep gawk perl coreutils grep gawk perl
RUN adduser -h /home/cli -s /bin/bash -D cli cli && \ RUN adduser -h /home/cli -s /bin/bash -D cli cli && \
addgroup cli wheel && \ addgroup cli wheel && \
echo "permit nopass :wheel" > /etc/doas.d/allow-wheel.conf echo "permit nopass :wheel" > /etc/doas.d/allow-wheel.conf
COPY home /home/cli ADD --chown=cli:cli home /home/cli
RUN chown -R cli:cli /home/cli
WORKDIR /home/cli WORKDIR /home/cli

1
ctx/.dockerignore Normal file
View File

@ -0,0 +1 @@
**/.gitignore

0
ctx/home/.local/bin/.gitignore vendored Normal file
View File

View File

@ -1,5 +1,5 @@
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
export EDITOR=vi export EDITOR=ovi
export VISUAL=${EDITOR} export VISUAL=${EDITOR}
export PAGER=less export PAGER=less
export LESS=RX # R for ANSI color sequences, X to not clear screen on exit export LESS=RX # R for ANSI color sequences, X to not clear screen on exit