]> cat aescling's git repositories - mastodon.git/commitdiff
Fix build error for missing variable interpolation in chown instruction (#6519)
authorMoritz Heiber <github@heiber.im>
Tue, 20 Feb 2018 18:11:36 +0000 (19:11 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 20 Feb 2018 18:11:36 +0000 (19:11 +0100)
Dockerfile

index 628941dda344767b725767f2adf23ea41d3edbaf..dab4e87a64cc716be26cb04f3d1d7a53ad869cd7 100644 (file)
@@ -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