pkgbuilder: use correct debootstrap URL
The original URL for the debootstrap deb file exists in the mirror, but in snapshot.debian.org at the specified timestamp. Solution: use the correct URL that exists in both TESTS =============================== * Make sure both URLs are valid using wget * Rebuild the docker file Change-Id: Ibaf89e4e6bfe4b43bd4f9d838b494d04a336b3a5 Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
This commit is contained in:
parent
e8ab6fa016
commit
09144c05d6
@ -15,7 +15,6 @@
|
||||
FROM debian:bullseye
|
||||
|
||||
ARG STX_MIRROR_URL=https://mirror.starlingx.windriver.com/mirror
|
||||
ARG DEBIAN_SNAPSHOT_BASE=${STX_MIRROR_URL}/debian/debian/snapshot.debian.org/archive/debian
|
||||
|
||||
RUN echo "deb-src http://deb.debian.org/debian bullseye main" >> /etc/apt/sources.list
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
@ -62,8 +61,8 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
|
||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968927
|
||||
RUN cd /tmp && \
|
||||
( \
|
||||
wget ${STX_MIRROR_URL}/debian/debian/snapshot.debian.org/archive/debian/20220331T000000Z/pool/main/d/debootstrap/debootstrap_1.0.128%2Bnmu2%2Bdeb12u1_all.deb || \
|
||||
wget ${DEBIAN_SNAPSHOT_BASE}/20220331T000000Z/pool/main/d/debootstrap/debootstrap_1.0.128%2Bnmu2$2Bdeb12u1_all.deb \
|
||||
wget ${STX_MIRROR_URL}/debian/snapshot.debian.org/archive/debian/20231031T030246Z/pool/main/d/debootstrap/debootstrap_1.0.128%2Bnmu2%2Bdeb12u1_all.deb || \
|
||||
wget https://snapshot.debian.org/archive/debian/20231031T030246Z/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
|
||||
|
Loading…
x
Reference in New Issue
Block a user