feat(dev): set PAGER=less
Requested by @mcrosson. Closes: zmkfirmware/zmk-docker#1 PR: zmkfirmware/zmk-docker#52
This commit is contained in:
parent
a01e40a640
commit
e656baa7da
2
.github/workflows/containers.yml
vendored
2
.github/workflows/containers.yml
vendored
@ -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
|
||||||
|
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user