Based on the navikey/raspbian-bullseye/blob/main/Dockerfile Raspbian/stretch in docker
951
GitHub repository: autolab-fi/autolab-docker/devops/docker/
Dockerfile:
# syntax=docker/dockerfile:1
FROM raspbian/stretch:latest AS raspbian-stretch
ENV DEBIAN_FRONTEND noninteractive
RUN true \
# Do not start daemons after installation.
&& echo -e '#!/bin/sh\nexit 101' > /usr/sbin/policy-rc.d \
&& chmod +x /usr/sbin/policy-rc.d \
# Update all packages.
&& apt-get update \
&& apt-get upgrade -y \
&& apt-get full-upgrade -y \
&& apt-get autoremove --purge -y \
&& apt-get clean -y \
# Switch to Bullseye repository.
&& sed -i 's/stretch/bullseye/g' /etc/apt/sources.list \
# Update all packages.
&& apt-get update \
&& apt-get upgrade -y \
&& apt-get full-upgrade -y \
&& apt-get autoremove --purge -y \
&& apt-get clean -y \
# Remove files outside base image.
&& rm -rf /var/lib/apt/lists/* \
&& rm -f /usr/sbin/policy-rc.d
LABEL repo="https://github.com/navikey/raspbian-bullseye/blob/main/Dockerfile"
# Collapse image to single layer.
FROM scratch
LABEL repo="https://github.com/navikey/raspbian-bullseye/blob/main/Dockerfile"
COPY --from=raspbian-stretch / /
Content type
Image
Digest
sha256:830c3b668…
Size
95.5 MB
Last updated
about 3 years ago
docker pull robxme/raspbian-stretch