feat(dev): set PAGER=less

Requested by @mcrosson.

Closes: zmkfirmware/zmk-docker#1
PR: zmkfirmware/zmk-docker#52
This commit is contained in:
innovaker 2021-05-19 18:59:18 +01:00
parent a01e40a640
commit e656baa7da
2 changed files with 3 additions and 0 deletions

View File

@ -398,6 +398,8 @@ jobs:
run: wget http://localhost:3000 run: wget http://localhost:3000
- name: Test less - name: Test less
run: less --version run: less --version
- name: Test PAGER
run: pager --version && [[ $PAGER = "less" ]] && true || false
- name: Test ssh - name: Test ssh
run: ssh -V run: ssh -V
- name: Stop container - name: Stop container

View File

@ -39,6 +39,7 @@ RUN \
FROM common AS dev-generic FROM common AS dev-generic
ENV LC_ALL=C ENV LC_ALL=C
ENV PAGER=less
RUN \ RUN \
apt-get -y update \ apt-get -y update \