Commit 0b0c3680 authored by Wouter's avatar Wouter

Add devel user to run builds in

Unifies and secures the images a bit more
parent e0a750a0
......@@ -63,4 +63,12 @@ RUN apt-get install -y \
libmagick++-dev \
imagemagick
VOLUME /deploy
# Create devel user...
RUN useradd -m -d /home/devel -u 1000 -U -g 1000 -G users,tty -s /bin/bash devel
USER devel
ENV HOME=/home/devel
WORKDIR /home/devel
# ... but don't use it on the next image builds
ONBUILD USER root
ONBUILD WORKDIR /
Markdown is supported
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