2 # Docker cross-compiler target
4 # This docker target builds on the Debian Bullseye base image.
6 FROM docker.io/library/debian:11-slim
8 RUN export DEBIAN_FRONTEND=noninteractive && \
10 apt-get install -y eatmydata && \
11 eatmydata apt-get dist-upgrade -y && \
12 eatmydata apt-get install --no-install-recommends -y \
15 # As a final step configure the user (if env is defined)
18 RUN if [ "${USER}" ]; then \
19 id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi