build: Update Dockerfile (#321)

This commit is contained in:
Kroese 2024-01-13 21:21:14 +01:00 committed by GitHub
parent 7998d931bb
commit 5da04faf37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -1,8 +1,8 @@
FROM debian:trixie-slim FROM debian:trixie-slim
ARG DEBCONF_NOWARNINGS="yes" ARG DEBCONF_NOWARNINGS="yes"
ARG DEBIAN_FRONTEND noninteractive ARG DEBIAN_FRONTEND "noninteractive"
ARG DEBCONF_NONINTERACTIVE_SEEN true ARG DEBCONF_NONINTERACTIVE_SEEN "true"
RUN apt-get update \ RUN apt-get update \
&& apt-get --no-install-recommends -y install \ && apt-get --no-install-recommends -y install \
@ -33,7 +33,7 @@ ENV RAM_SIZE "1G"
ENV DISK_SIZE "16G" ENV DISK_SIZE "16G"
ENV BOOT "http://www.example.com/image.iso" ENV BOOT "http://www.example.com/image.iso"
ARG VERSION_ARG="0.0" ARG VERSION_ARG "0.0"
RUN echo "$VERSION_ARG" > /run/version RUN echo "$VERSION_ARG" > /run/version
ENTRYPOINT ["/usr/bin/tini", "-s", "/run/entry.sh"] ENTRYPOINT ["/usr/bin/tini", "-s", "/run/entry.sh"]