Merge "base: update to dumb-init 1.2.2"
This commit is contained in:
commit
a76eca18a8
@ -409,18 +409,21 @@ COPY curlrc /root/.curlrc
|
||||
|
||||
{% if base_arch == 'x86_64' %}
|
||||
|
||||
RUN curl -sSL https://github.com/Yelp/dumb-init/releases/download/v1.1.3/dumb-init_1.1.3_amd64 -o /usr/local/bin/dumb-init \
|
||||
RUN curl -sSL https://github.com/Yelp/dumb-init/releases/download/v1.2.2/dumb-init_1.2.2_{{debian_arch}} -o /usr/local/bin/dumb-init \
|
||||
&& chmod +x /usr/local/bin/dumb-init
|
||||
|
||||
{% else %}
|
||||
|
||||
{{ macros.install_packages(base_compiler_packages) }}
|
||||
|
||||
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
|
||||
&& python get-pip.py \
|
||||
&& rm get-pip.py \
|
||||
&& pip --no-cache-dir install --prefix='/usr/local' dumb-init==1.1.3 \
|
||||
&& chmod +x /usr/local/bin/dumb-init
|
||||
{% set dumb_init_package_name = "dumb-init_1.2.2-1.1_" + debian_arch + ".deb" %}
|
||||
|
||||
RUN curl -sSL http://deb.debian.org/debian/pool/main/d/dumb-init/{{dumb_init_package_name}} -o {{dumb_init_package_name}} \
|
||||
&& ar -x {{dumb_init_package_name}} data.tar.xz \
|
||||
&& tar xf data.tar.xz ./usr/bin/dumb-init \
|
||||
&& install -d -m 0755 /usr/local/bin \
|
||||
&& mv usr/bin/dumb-init /usr/local/bin/dumb-init \
|
||||
&& rm data.tar.xz {{dumb_init_package_name}}
|
||||
|
||||
{% endif %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user