From 7747b85ca78b9c21da6994dc7e755c2c1079cb19 Mon Sep 17 00:00:00 2001 From: Henrik Jonsson Date: Sun, 8 May 2016 17:58:14 +0200 Subject: [PATCH] Make sure user owns Downloads dir --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e13d650..4658c98 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,7 +37,9 @@ RUN curl --fail -O -sSL ${RELEASE_URL} && \ gpg --verify ${RELEASE_FILE}.asc && \ sha256sum -c sha256sums-unsigned-build.txt && \ tar --strip-components=1 -vxJf ${RELEASE_FILE} && \ - rm -v ${RELEASE_FILE}* + rm -v ${RELEASE_FILE}* && \ + mkdir /usr/local/bin/Browser/Downloads && \ + chown -R user:user /usr/local/bin/Browser/Downloads WORKDIR /usr/local/bin/Browser/Downloads USER user