add bash completion and manpages to container
This commit is contained in:
parent
864e37ac6c
commit
c08c5653cc
@ -48,7 +48,12 @@ RUN groupadd user && \
|
|||||||
chown -R user:user /home/user && \
|
chown -R user:user /home/user && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get upgrade --assume-yes && \
|
apt-get upgrade --assume-yes && \
|
||||||
apt-get install --assume-yes ca-certificates libssl3 libsqlite3-0 && \
|
apt-get install -yqq \
|
||||||
|
bash-completion \
|
||||||
|
ca-certificates \
|
||||||
|
libssl3 \
|
||||||
|
libsqlite3-0 \
|
||||||
|
man-db && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -fr -- /var/lib/apt/lists/* /var/cache/*
|
rm -fr -- /var/lib/apt/lists/* /var/cache/*
|
||||||
|
|
||||||
@ -56,5 +61,7 @@ FROM sq-base AS sq
|
|||||||
|
|
||||||
COPY --from=build /opt/usr/local/bin/sq /usr/local/bin/sq
|
COPY --from=build /opt/usr/local/bin/sq /usr/local/bin/sq
|
||||||
COPY --from=build /etc/ssl/certs /etc/ssl/certs
|
COPY --from=build /etc/ssl/certs /etc/ssl/certs
|
||||||
|
COPY --from=build /tmp/target/assets/shell-completions/sq.bash /etc/bash_completion.d/sq
|
||||||
|
COPY --from=build /tmp/target/assets/man-pages/* /usr/share/man/man1/
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/local/bin/sq"]
|
ENTRYPOINT ["/usr/local/bin/sq"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user