From 1753eb5a9cb55e2e8e64c142034a58fceebc81e2 Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Tue, 4 Sep 2018 10:21:52 +0300 Subject: [PATCH] feat(docker): Run API processes using pelias user This is enabled by the work in https://github.com/pelias/baseimage/pull/2 and lets us ensure the API is run as a non-root user. Additionally the maintainer label is now set in the baseimage as of (https://github.com/pelias/baseimage/pull/8), so it can be removed here. --- Dockerfile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index dc7836e0..d2a4ba13 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,7 @@ # base image FROM pelias/baseimage -RUN useradd -ms /bin/bash pelias USER pelias -# maintainer information -LABEL maintainer="pelias.team@gmail.com" - # Where the app is built and run inside the docker fs ENV WORK=/home/pelias WORKDIR ${WORK}