add openvi, .local/bin
This commit is contained in:
parent
9145f384ca
commit
541bfdace3
@ -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
1
ctx/.dockerignore
Normal file
@ -0,0 +1 @@
|
|||||||
|
**/.gitignore
|
||||||
0
ctx/home/.local/bin/.gitignore
vendored
Normal file
0
ctx/home/.local/bin/.gitignore
vendored
Normal 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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user