We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8df5038 commit cc78902Copy full SHA for cc78902
deploy/kubernetes/docker/Dockerfile
@@ -21,7 +21,7 @@ RUN chown -R rssadmin:rssadmin /data
21
RUN chmod -R 777 /data
22
USER rssadmin
23
24
-COPY rss-${RSS_VERSION}-hadoop${HADOOP_SHORT_VERSION}.tgz /data/rssadmin
+COPY --chmod=rssadmin:rssadmin rss-${RSS_VERSION}-hadoop${HADOOP_SHORT_VERSION}.tgz /data/rssadmin
25
RUN tar -xvf /data/rssadmin/rss-${RSS_VERSION}-hadoop${HADOOP_SHORT_VERSION}.tgz -C /data/rssadmin
26
RUN mv /data/rssadmin/rss-${RSS_VERSION}-hadoop${HADOOP_SHORT_VERSION} /data/rssadmin/rss
27
RUN rm /data/rssadmin/rss/conf/rss-env.sh
0 commit comments