Commit Graph

67 Commits

Author SHA1 Message Date
Kristóf Tóth
1fb13fefff Add setup.py to allow local pip installs of tfw 2018-05-10 16:20:58 +02:00
Kristóf Tóth
17c5ade3ce Fix broken HISTFILE due to bash and sh incompabilities 2018-04-26 10:04:56 +02:00
Kristóf Tóth
c831ba5ca4 Fix permissions on Python libraries besides TFW 2018-04-25 11:18:49 +02:00
Kristóf Tóth
25d039e84e Include LICENSE in image 2018-04-18 13:38:31 +02:00
Kristóf Tóth
117e7ffc18 Force bash history to be flushed before executing commands 2018-04-18 13:19:51 +02:00
Kristóf Tóth
8e8963b0f8 Simplify TFW baseimage contract 2018-04-17 17:44:38 +02:00
Kristóf Tóth
13e90dde41 Fix terminado not being included in nginx config 2018-04-17 15:13:27 +02:00
Kristóf Tóth
3b1f42858d Make default BUILD_CONTEXT == 'solvable' 2018-04-16 15:13:12 +02:00
Kristóf Tóth
19f819c142 Implement TFW & challenge solver user separation 2018-04-04 17:43:18 +02:00
Kristóf Tóth
68fc4ca050 Fix nginx on readonly filesystems 2018-04-04 14:18:37 +02:00
Kristóf Tóth
e832059526 Migrate baseimage to debian from ubuntu 2018-03-28 16:27:35 +02:00
Kristóf Tóth
a3fa75b676 Make Dockerfile more bashy 2018-03-23 21:29:27 +01:00
Kristóf Tóth
82fb01e42e Refactor project into TFW baseimage 2018-03-23 14:44:02 +01:00
Kristóf Tóth
abcf490019 Strip controller from TFW 2018-03-23 11:37:01 +01:00
Kristóf Tóth
98443dc588 Remove duplicate nginx chown from Dockerfile 2018-03-14 14:32:49 +01:00
Kristóf Tóth
1ea238e108 Remove duplicate nginx pidfile fix from Dockerfile 2018-03-14 14:31:34 +01:00
Kristóf Tóth
e080fb0e5c Remove lefover frontend source code from final image 2018-03-14 10:23:22 +01:00
Kristóf Tóth
3caf170c7d Add readonly-fs compatible configuration for nginx 2018-03-14 09:15:57 +01:00
Kristóf Tóth
49b728ee6c Rename nginx default site config 2018-03-14 09:01:25 +01:00
Kristóf Tóth
8cd0665c03 Make rw directories VOLUMEs 2018-03-14 08:57:33 +01:00
Kristóf Tóth
51234c750c Add nginx permission fixes to Dockerfile 2018-03-14 08:57:05 +01:00
Kristóf Tóth
fa115a67c0 Fix envsubst undefined behaviour on some platforms in Dockerfile 2018-03-14 08:48:21 +01:00
Kristóf Tóth
e064c34d8f Enforce HISTFILE consistency 2018-03-07 11:34:21 +01:00
Kristóf Tóth
7dd2512300 Fix history monitoring stuff in Dockerfile (AVATAO baseimage bashrc) 2018-03-06 13:27:32 +01:00
Kristóf Tóth
100ec96e63 Fix shopt magic in Dockerfile 2018-03-06 13:27:32 +01:00
Kristóf Tóth
ac8e5506a5 Improve handling of bash history 2018-03-06 13:27:32 +01:00
Kristóf Tóth
180cf41f85 Implement history reading API 2018-03-06 13:27:32 +01:00
Kristóf Tóth
338e690842 Remove terminado from supervisor 2018-03-06 13:27:32 +01:00
Kristóf Tóth
ec83cbe7a0 Make Dockerfile bootiful again 2018-02-11 15:20:06 +01:00
Kristóf Tóth
1692b424b5 Move webide and terminado event handlers to lib/tfw/components 2018-02-11 14:15:10 +01:00
Bálint Bokros
793fc45493 Add controller to Dockerfile
This is a temporary measure to ease development and testing. The final project
will contain a separate controller.
2018-02-09 17:37:56 +01:00
Kristóf Tóth
545b972296 Add chmod to wordir in Dockerfile 2018-02-09 17:25:38 +01:00
Kristóf Tóth
83b24ad538 Improve internal handling of environment variables 2018-02-09 10:38:16 +01:00
Kristóf Tóth
dceb3b947f Refactor handling of working directory for SourceCodeEventHandler 2018-02-08 17:13:14 +01:00
Kristóf Tóth
5e34835ed6 Refactor Dockerfile (move nginx setup to earlier layers) 2018-02-05 15:51:53 +01:00
Kristóf Tóth
c99630172b Split nginx configuration to several files 2018-01-31 23:04:51 +01:00
Kristóf Tóth
0ec79fe8d0 Split supervisor configuration to several files 2018-01-31 23:04:27 +01:00
Kristóf Tóth
4c50f07be9 Unify Docker container config file locations to project root 2018-01-31 16:15:19 +01:00
Kristóf Tóth
2ad42dbaa7 Fix logging: supervisord loglevel=debug for now 2018-01-31 11:38:01 +01:00
Kristóf Tóth
0e38bef92e Implement loglevel configuration from Dockerfile 2018-01-30 10:49:16 +01:00
Kristóf Tóth
6de653534f Apply nginx reverse proxy to terminado's 7878 websocket 2018-01-25 12:22:32 +01:00
Kristóf Tóth
ae4c27c0f5 Freeze Python dependencies via pip install -r req....txt 2018-01-24 18:26:02 +01:00
Kristóf Tóth
eedf589ab7 Implement setting working directory from ENV 2018-01-24 16:26:01 +01:00
Kristóf Tóth
83b66c47b5 Implement and integrate TerminadoEvendHandler to docker container 2018-01-24 15:10:59 +01:00
Kristóf Tóth
6b6f4942c0 Reorder of Dockerfile for painless configuration of envvars 2018-01-24 13:46:27 +01:00
Bálint Bokros
fa2b9ed6f3 Reorder Dockerfile to avoid unnecessary cache busts 2018-01-23 17:28:21 +01:00
Kristóf Tóth
3dbb14ecd3 Removal of multistage features and general cleanup of Dockerfile 2018-01-18 15:51:08 +01:00
Bálint Bokros
a9701ba3fe Do not expose TFW_WEB_PORT, as it isn't needed publicly anymore 2018-01-12 14:11:40 +01:00
Bálint Bokros
aabc042431 Use ARG instead of ENV for build-time variables 2018-01-12 14:10:57 +01:00
Bálint Bokros
a30c0c3fff Reorder Dockerfile for better caching and less layers 2018-01-12 14:10:30 +01:00