Commit dd4b4123 authored by Michel Roelofs's avatar Michel Roelofs
Browse files

Use userid < 65535, so that it also works in unprivileged LXC containers

parent f00ff6a4
...@@ -54,7 +54,7 @@ path=/var/www/console/htdocs\n\ ...@@ -54,7 +54,7 @@ path=/var/www/console/htdocs\n\
port=8000\n\ port=8000\n\
' > /etc/dt/dt_host.ini ' > /etc/dt/dt_host.ini
RUN groupadd -g 80000 consoledemo && useradd -g consoledemo -M -u 80000 consoledemo RUN groupadd -g 27790 consoledemo && useradd -g consoledemo -M -u 27790 consoledemo
RUN mkdir -p /var/log/dt/traces && chown consoledemo.consoledemo /var/log/dt/traces RUN mkdir -p /var/log/dt/traces && chown consoledemo.consoledemo /var/log/dt/traces
RUN chown -R consoledemo.consoledemo /var/www/console/htdocs/tle RUN chown -R consoledemo.consoledemo /var/www/console/htdocs/tle
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment