mirror of
https://github.com/spritsail/plex-media-server.git
synced 2024-12-20 11:34:36 +00:00
Replace multiple ADD/RUN with ADD --chmod
Reduce the layer count, and simplify the steps involved.
This commit is contained in:
parent
34bde0e314
commit
38184e71fb
@ -175,9 +175,10 @@ RUN find /output -exec sh -c 'file "{}" | grep -q ELF && strip --strip-debug "{}
|
|||||||
&& apt-get -y install execstack \
|
&& apt-get -y install execstack \
|
||||||
&& execstack -c /output/usr/lib/*.so*
|
&& execstack -c /output/usr/lib/*.so*
|
||||||
|
|
||||||
ADD entrypoint /output/usr/local/bin/
|
ADD --chmod=755 \
|
||||||
ADD *.sh /output/usr/local/bin/
|
entrypoint \
|
||||||
RUN chmod +x /output/usr/local/bin/*
|
*.sh \
|
||||||
|
/output/usr/local/bin/
|
||||||
|
|
||||||
#=========================
|
#=========================
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user