mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-23 00:54:26 +01:00
STYLE: common.manylinux: Consistently chain commands using post "&&"
This commit is contained in:
parent
04841a1de0
commit
1120f1e9a4
@ -5,8 +5,8 @@ COPY \
|
|||||||
/dockcross/
|
/dockcross/
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
set -x \
|
set -x && \
|
||||||
&& yum -y install \
|
yum -y install \
|
||||||
epel-release \
|
epel-release \
|
||||||
gpg \
|
gpg \
|
||||||
zlib-devel \
|
zlib-devel \
|
||||||
@ -14,12 +14,13 @@ RUN \
|
|||||||
openssh-clients \
|
openssh-clients \
|
||||||
pax \
|
pax \
|
||||||
zip \
|
zip \
|
||||||
&& yum clean all
|
&& \
|
||||||
&& /dockcross/install-gosu-binary.sh \
|
yum clean all && \
|
||||||
&& rm /dockcross/install-gosu-binary.sh \
|
/dockcross/install-gosu-binary.sh && \
|
||||||
|
rm /dockcross/install-gosu-binary.sh && \
|
||||||
# Remove sudo provided by "devtoolset-2" since it doesn't work with
|
# Remove sudo provided by "devtoolset-2" since it doesn't work with
|
||||||
# our sudo wrapper calling gosu.
|
# our sudo wrapper calling gosu.
|
||||||
&& rm /opt/rh/devtoolset-2/root/usr/bin/sudo \
|
rm /opt/rh/devtoolset-2/root/usr/bin/sudo && \
|
||||||
&& /dockcross/install-python-packages.sh \
|
/dockcross/install-python-packages.sh && \
|
||||||
&& rm /dockcross/install-python-packages.sh
|
rm /dockcross/install-python-packages.sh
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user