update
This commit is contained in:
18
Dockerfile
18
Dockerfile
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user