mirror of https://github.com/citusdata/citus.git
answer was no, selectively chowning at the end
parent
4024ce395e
commit
dce153c60d
|
|
@ -153,11 +153,11 @@ RUN git clone https://github.com/so-fancy/diff-so-fancy.git \
|
||||||
|
|
||||||
COPY --link --from=uncrustify-builder /uncrustify/usr/ /usr/
|
COPY --link --from=uncrustify-builder /uncrustify/usr/ /usr/
|
||||||
|
|
||||||
COPY --chown=citus:citus --link --from=pg14 /home/citus/.pgenv-staging/ /home/citus/.pgenv/
|
COPY --link --from=pg14 /home/citus/.pgenv-staging/ /home/citus/.pgenv/
|
||||||
COPY --chown=citus:citus --link --from=pg15 /home/citus/.pgenv-staging/ /home/citus/.pgenv/
|
COPY --link --from=pg15 /home/citus/.pgenv-staging/ /home/citus/.pgenv/
|
||||||
COPY --chown=citus:citus --link --from=pg16 /home/citus/.pgenv-staging/ /home/citus/.pgenv/
|
COPY --link --from=pg16 /home/citus/.pgenv-staging/ /home/citus/.pgenv/
|
||||||
|
|
||||||
COPY --chown=citus:citus --link --from=pipenv /home/citus/.local/share/virtualenvs/ /home/citus/.local/share/virtualenvs/
|
COPY --link --from=pipenv /home/citus/.local/share/virtualenvs/ /home/citus/.local/share/virtualenvs/
|
||||||
|
|
||||||
# place to run your cluster with citus_dev
|
# place to run your cluster with citus_dev
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
|
|
@ -168,7 +168,7 @@ COPY --chown=citus:citus .psqlrc .
|
||||||
|
|
||||||
# with the copy linking of layers github actions seem to misbehave with the ownership of the
|
# with the copy linking of layers github actions seem to misbehave with the ownership of the
|
||||||
# directories leading upto the link, hence a small patch layer to have to right ownerships set
|
# directories leading upto the link, hence a small patch layer to have to right ownerships set
|
||||||
# RUN sudo chown --from=root:root citus:citus -R ~
|
RUN sudo chown --from=root:root citus:citus -R ~
|
||||||
|
|
||||||
# sets default pg version
|
# sets default pg version
|
||||||
RUN pgenv switch latest 15
|
RUN pgenv switch latest 15
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue