From a4fd4ad1d50221f4a6a032d3ffea6f620e8b9b5b Mon Sep 17 00:00:00 2001
From: Moritz Heiber <github@heiber.im>
Date: Tue, 20 Feb 2018 19:11:36 +0100
Subject: [PATCH] Fix build error for missing variable interpolation in chown
 instruction (#6519)

---
 Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index 628941dda..dab4e87a6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -72,7 +72,7 @@ RUN bundle config build.nokogiri --with-iconv-lib=/usr/local/lib --with-iconv-in
 
 RUN addgroup -g ${GID} mastodon && adduser -h /mastodon -s /bin/sh -D -G mastodon -u ${UID} mastodon
 
-COPY --chown=${UID}:${GID} . /mastodon
+COPY --chown=mastodon:mastodon . /mastodon
 
 VOLUME /mastodon/public/system /mastodon/public/assets /mastodon/public/packs
 
-- 
GitLab