Skip to content
This repository has been archived by the owner on Dec 23, 2020. It is now read-only.

Commit

Permalink
add lynx browser: (latest version) closes #21, addresses #11
Browse files Browse the repository at this point in the history
  • Loading branch information
ikreymer committed Dec 29, 2015
1 parent 98b3782 commit a8abc31
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 1 deletion.
12 changes: 11 additions & 1 deletion app/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,17 @@ browsers:
about: 'https://en.wikipedia.org/wiki/Chromium_(web_browser)'
skip_random: true

# WWW
# Lynx
- id: lynx
name: lynx
os: 'Linux'
icon: 'lynx.png'
path: lynx
version: '2.8.9'
about: 'https://en.wikipedia.org/wiki/Lynx_(web_browser)'
skip_random: true

# WWW
- id: www
name: 'WWW'
os: 'NextSTEP'
Expand Down
Binary file added app/static/icons/lynx.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions browsers/lynx/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM netcapsule/base-browser

RUN apt-get update && apt-get install -y \
lynx-cur \
&& rm -rf /var/lib/apt/lists/*

USER browser

COPY run.sh /app/run.sh
RUN sudo chmod a+x /app/run.sh

CMD /app/entry_point.sh /app/run.sh


8 changes: 8 additions & 0 deletions browsers/lynx/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

#fvwm -d $DISPLAY &

sudo chmod a+x /usr/bin/xterm

run_browser xterm -maximized -w 0 -bd black -fg white -bg black -e 'lynx -use_mouse -telnet -restrictions=shell,file_url "$URL"'

0 comments on commit a8abc31

Please sign in to comment.