diff --git a/debian-mirror-tools/config/debian/common/3rdparty.lst b/debian-mirror-tools/config/debian/common/3rdparty.lst new file mode 100644 index 000000000..5b1a4b63c --- /dev/null +++ b/debian-mirror-tools/config/debian/common/3rdparty.lst @@ -0,0 +1,5 @@ +# These are 3rd party binary debian packages to +# be included locally. +docker-ce 5:20.10.10~3-0~debian-bullseye +docker-ce-cli 5:20.10.10~3-0~debian-bullseye +containerd.io 1.4.11-1 diff --git a/stx/dockerfiles/stx-builder.Dockerfile b/stx/dockerfiles/stx-builder.Dockerfile index b857d37bc..3c856d38e 100644 --- a/stx/dockerfiles/stx-builder.Dockerfile +++ b/stx/dockerfiles/stx-builder.Dockerfile @@ -63,6 +63,14 @@ RUN apt-get update && apt-get install --no-install-recommends -y \ ln -sf /usr/local/bin/stx/stx-localrc /root/localrc && \ echo '. /usr/local/bin/finishSetup.sh' >> /root/.bashrc +# 3rd party apt repositories +# docker-cli +RUN curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg && \ + echo \ + "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \ + $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null && \ + apt-get update + COPY stx/toCOPY/lat-tool/lat /opt/LAT/lat COPY stx/toCOPY/builder/finishSetup.sh /usr/local/bin COPY stx/toCOPY/builder/userenv /root/