change how base image builds
Some checks failed
Build and Push Multi-Arch Docker Images / build (push) Has been cancelled

This commit is contained in:
2025-07-05 07:31:54 -07:00
parent 6de2bf059f
commit ea3817456d
12 changed files with 395 additions and 0 deletions

21
Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
FROM debian:bullseye
ARG VERSION
ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /builder
RUN apt-get update && apt-get install -y \
debootstrap wget curl bash ftp-upload dirmngr locales sudo git \
&& apt-get clean
# Setup locale
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
locale-gen && \
update-locale LANG=en_US.UTF-8
COPY base-image-script/ base-image-script/
RUN chmod +x base-image-script/*.sh
# Default command overridden by workflow
CMD ["bash"]