mirror of
https://github.com/tstack/lnav.git
synced 2024-09-11 21:07:39 +03:00
[demo] update to v0.11.2
This commit is contained in:
parent
9df36484f6
commit
cd4eddced2
@ -10,8 +10,8 @@ RUN set -eux; \
|
|||||||
rm -rf /var/lib/{apt,dpkg,cache,log}/; \
|
rm -rf /var/lib/{apt,dpkg,cache,log}/; \
|
||||||
echo "Installed base utils!"
|
echo "Installed base utils!"
|
||||||
|
|
||||||
ADD https://github.com/tstack/lnav/releases/download/v0.11.0/lnav-0.11.0-musl-64bit.zip /
|
ADD https://github.com/tstack/lnav/releases/download/v0.11.2/lnav-0.11.2-x86_64-linux-musl.zip /
|
||||||
RUN unzip lnav-0.11.0-musl-64bit.zip
|
RUN unzip lnav-0.11.2-x86_64-linux-musl.zip
|
||||||
|
|
||||||
COPY docs/tutorials tutorials
|
COPY docs/tutorials tutorials
|
||||||
RUN gunzip /tutorials/playground/logs/*.gz
|
RUN gunzip /tutorials/playground/logs/*.gz
|
||||||
@ -25,18 +25,18 @@ RUN echo 'tutorial1:tutorial1' | chpasswd
|
|||||||
RUN passwd -d tutorial1
|
RUN passwd -d tutorial1
|
||||||
|
|
||||||
USER playground
|
USER playground
|
||||||
RUN /lnav-0.11.0/lnav -nN -c ":config /ui/theme monocai"
|
RUN /lnav-0.11.2/lnav -nN -c ":config /ui/theme monocai"
|
||||||
|
|
||||||
USER tutorial1
|
USER tutorial1
|
||||||
RUN /lnav-0.11.0/lnav -nN -c ":config /ui/theme monocai"
|
RUN /lnav-0.11.2/lnav -nN -c ":config /ui/theme monocai"
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
RUN echo 'Match User playground' >> /etc/ssh/sshd_config
|
RUN echo 'Match User playground' >> /etc/ssh/sshd_config
|
||||||
RUN echo 'ForceCommand env PATH=/lnav-0.11.0:$PATH /tutorials/playground/run.sh' >> /etc/ssh/sshd_config
|
RUN echo 'ForceCommand env PATH=/lnav-0.11.2:$PATH /tutorials/playground/run.sh' >> /etc/ssh/sshd_config
|
||||||
RUN echo 'PermitEmptyPasswords yes' >> /etc/ssh/sshd_config
|
RUN echo 'PermitEmptyPasswords yes' >> /etc/ssh/sshd_config
|
||||||
RUN echo 'Match User tutorial1' >> /etc/ssh/sshd_config
|
RUN echo 'Match User tutorial1' >> /etc/ssh/sshd_config
|
||||||
RUN echo 'ForceCommand env PATH=/lnav-0.11.0:$PATH /tutorials/tutorial1/run.sh' >> /etc/ssh/sshd_config
|
RUN echo 'ForceCommand env PATH=/lnav-0.11.2:$PATH /tutorials/tutorial1/run.sh' >> /etc/ssh/sshd_config
|
||||||
RUN echo 'PermitEmptyPasswords yes' >> /etc/ssh/sshd_config
|
RUN echo 'PermitEmptyPasswords yes' >> /etc/ssh/sshd_config
|
||||||
RUN service ssh start
|
RUN service ssh start
|
||||||
EXPOSE 22
|
EXPOSE 22
|
||||||
|
Loading…
Reference in New Issue
Block a user