Docker image that contains apt-fast. Provides debian:buster based images on docker hub.
1.4K
Docker image that contains apt-fast, which gives images-builder using debian-based distro the following advantage:
apt-fast which has out-of-box settings;apt-utils so packages configuration on debian is not delayed;DEBIAN_FRONTEND=noninteractive to avoid interactive debconf configuration.Provides debian:buster, debian:buster-slim and ubuntu:bionic based images on docker hub.
In the Dockerfile:
# For debian:buster
FROM nobodyxu/apt-fast:latest-debian-buster AS base
# For debian:buster-slim
FROM nobodyxu/apt-fast:latest-debian-buster-slim AS base
# For ubuntu:bionic
FROM nobodyxu/apt-fast:latest-ubuntu-bionic AS base
RUN apt-auto install -y --no-install-recommends ...
Or
FROM nobodyxu/apt-fast:latest-debian-buster-slim AS apt-fast
FROM base # Any debian-based distro here!
COPY --from=apt-fast /usr/local/ /usr/local/
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-auto install -y --no-install-recommends ...
RUN curl pub_key | apt-key add -
RUN echo deb url all main > /etc/apt/sources.list.d/a.list
RUN apt-auto install -y '$(apt-cache search softwares-from-newly-added-mirror)'
# To build for debian:buster
docker build --squash -t apt-fast .
# To build for other distros, say ubuntu:bionic
docker build --squash -t apt-fast --build-arg base=ubuntu:bionic .
For podman user, replace docker with podman.
Content type
Image
Digest
Size
66.9 MB
Last updated
almost 6 years ago
docker pull nobodyxu/apt-fast:latest-ubuntu-bionic