This commit is contained in:
2025-07-06 08:02:28 -07:00
parent 8784c24a69
commit c8977e577d
3 changed files with 150 additions and 35 deletions

View File

@@ -1,21 +1,17 @@
FROM alpine:latest
LABEL maintainer="fithwum"
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
# Install needed Alpine build tools
RUN apk update && apk add --no-cache \
bash curl wget git sudo jq util-linux coreutils \
ca-certificates ftp-upload \
&& update-ca-certificates
COPY base-image-script/ base-image-script/
RUN chmod +x base-image-script/*.sh
# Default command overridden by workflow
# Default command (overridden by CI)
CMD ["bash"]