From 31d610b30b235f5b2ad1fec40b7b35bcfb1d08ee Mon Sep 17 00:00:00 2001
From: nrbffs <38812627+nrbffs@users.noreply.github.com>
Date: Sat, 13 Apr 2019 11:21:57 -0400
Subject: [PATCH] create and run as user

---
 Dockerfile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Dockerfile b/Dockerfile
index f0f52a8..76fab17 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,3 +3,7 @@ FROM debian:9
 RUN apt-get update \
   && apt-get install -y git subversion python build-essential gawk unzip libz-dev libncurses-dev libssl-dev time curl wget ecdsautils \
   && apt-get clean
+
+# gluon build fails when running as root
+RUN adduser --quiet --disabled-login --gecos '' build
+USER build:build
-- 
GitLab