Anatoli Babenia
71bbf48092
gevent
dependency fix on setuptools
is merged to Alpine
...
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/27453
2021-11-16 12:57:14 +03:00
Anatoli Babenia
aa8196d08b
docker: setuptools is needed by gevent
...
Temporary fix until this is merged
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/27419
2021-11-13 19:39:40 +03:00
Anatoli Babenia
10edf376e2
docker: install GNU sed to fix ansi2html ( fixes #274 , #301 )
2021-11-13 19:39:19 +03:00
Anatoli Babenia
5f0aa79396
docker: update Alpine image (doesn't fix ansi2html issue)
2021-11-13 19:39:05 +03:00
Igor Chubin
99c793fa29
Reorder commands in Dockerfile
2020-11-16 23:03:42 +00:00
Igor Chubin
a538409f70
Upgrade pygments
2020-11-13 19:02:43 +00:00
Igor Chubin
372c5d0289
Copy requirements.txt
2020-11-13 18:39:50 +01:00
Igor Chubin
0a80be83ae
Move pip3 to right place
2020-11-13 18:31:23 +01:00
Igor Chubin
96fb2b1355
Move pip3 to right place
2020-11-13 18:21:28 +01:00
Igor Chubin
1e5803aefe
Install python requirements in Dockerfile (ci)
2020-11-13 12:49:24 +01:00
Anatoli Babenia
10bfaab38c
Modern DevOps is a PITA
...
Run Python 3 in unbuffered mode to see lines in `docker logs` as
soon as they appear. When Python 3 is not attached to a terminal,
it turns on the buffering, like when `docker` runs in a background.
2020-07-31 13:31:31 +03:00
Anatoli Babenia
aae40ae3a8
Install missing gawk
needed by ansi2html.sh ( #222 )
...
RuntimeError: /app/share/ansi2html.sh: line 38: gawk: command not found
2020-07-29 14:15:36 +03:00
Anatoli Babenia
96cc3f64bd
Install bash
and fix Python3 subprocess bytes
...
File "/app/lib/globals.py", line 25, in error
if not text.startswith("Too many queries"):
TypeError: startswith first arg must be bytes or a tuple of bytes, not str
2020-07-29 12:02:02 +03:00
Anatoli Babenia
b2114a43fa
Pin Alpine to 3.12 to avoid surprises
2020-07-28 20:25:30 +03:00
Anatoli Babenia
f024e4d561
Run server
2020-07-28 15:23:51 +03:00
Anatoli Babenia
f727f2ceb4
Do not store pip
cache -42MB
2020-07-28 11:34:09 +03:00
Anatoli Babenia
c3d5473123
Use Python3 to fetch cheat sheets
2020-07-27 21:06:14 +03:00
Anatoli Babenia
20e371c575
Fetch cheat sheets without installing cht.sh.txt
2020-07-27 11:03:46 +03:00
Anatoli Babenia
981aa35c36
Fix Dockerfile ( #172 , #156 )
...
This still doesn't work as expected, because `cht.sh.txt` runs in
interactive mode and gives the prompt.
Where should cheat.sh be installed [/root/.cheat.sh]?
2020-07-27 10:07:00 +03:00
Brandon Lopez
3200925e2e
Update Dockerfile
...
Little more Dockerfile cleanup
2018-07-31 10:54:14 -07:00
Brandon Lopez
6b48b06f20
Dockerfile clean up
2018-07-30 20:44:47 -07:00
Brandon Lopez
22953bb109
Can now build a Docker image of the app with cheatsheets pulled in at build time and use Docker Compose to get it running with Redis
2018-07-29 23:51:41 -07:00