Enable s390x
This commit is contained in:
parent
27108da170
commit
1cee16f96a
7 changed files with 22 additions and 60 deletions
|
|
@ -17,19 +17,9 @@ FROM BASEIMAGE
|
|||
CROSS_BUILD_COPY qemu-QEMUARCH-static /usr/bin/
|
||||
|
||||
# install dumb-init from zesty
|
||||
RUN if grep -q -i "ports.ubuntu.com" /etc/apt/sources.list; \
|
||||
then \
|
||||
echo "deb http://ports.ubuntu.com/ubuntu-ports zesty universe" >> /etc/apt/sources.list; \
|
||||
else \
|
||||
echo "deb http://archive.ubuntu.com/ubuntu zesty universe" >> /etc/apt/sources.list; \
|
||||
fi \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get update \
|
||||
&& apt-get install -y \
|
||||
diffutils \
|
||||
dumb-init \
|
||||
--no-install-recommends \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
RUN clean-install \
|
||||
diffutils \
|
||||
dumb-init
|
||||
|
||||
ENTRYPOINT ["/usr/bin/dumb-init"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue