fix: stx-pkgbuilder failed to build due to snapshot.debian.org 503
Upversion from debootstrap_1.0.126+nmu1_all.deb to debootstrap_1.0.128+nmu2+deb12u1_all.deb. The new version is part of snapshot.debian.org/archive/debian/20211128T160803Z And mirror.starlingx.windriver.com has a mirror of that snapshot. This in turn allows the stx-pkgbuilder container to pull debootstrap from either of two sources. Closes-Bug: 1996940 Change-Id: Ifc5b5d1a4197df8cc9bcae0e1e55c36dcf51173c Signed-off-by: Scott Little <scott.little@windriver.com>
This commit is contained in:
parent
901c214192
commit
b9e695f8f7
@ -52,9 +52,11 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
|
||||
# workaround for docker debootstrap bug
|
||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968927
|
||||
RUN cd /tmp && \
|
||||
wget \
|
||||
http://snapshot.debian.org/archive/debian/20211128T160803Z/pool/main/d/debootstrap/debootstrap_1.0.126%2Bnmu1_all.deb && \
|
||||
dpkg -i debootstrap_1.0.126+nmu1_all.deb
|
||||
( \
|
||||
wget https://mirror.starlingx.windriver.com/mirror/debian/debian/snapshot.debian.org/archive/debian/20220331T000000Z/pool/main/d/debootstrap/debootstrap_1.0.128%2Bnmu2%2Bdeb12u1_all.deb || \
|
||||
wget http://snapshot.debian.org/archive/debian/20220331T000000Z/pool/main/d/debootstrap/debootstrap_1.0.128%2Bnmu2$2Bdeb12u1_all.deb \
|
||||
) && \
|
||||
dpkg -i debootstrap_1.0.128+nmu2+deb12u1_all.deb
|
||||
RUN groupadd crontab
|
||||
|
||||
COPY stx/toCOPY/pkgbuilder/app.py /opt/
|
||||
|
Loading…
Reference in New Issue
Block a user