add bash completion and manpages to container

This commit is contained in:
Devan Carpenter 2024-11-19 11:12:11 +00:00
parent 864e37ac6c
commit c08c5653cc
No known key found for this signature in database
GPG Key ID: AC0ABA31866A7E76

View File

@ -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"]