# debian.sh --arch 'amd64' out/ 'bookworm' '@1754870400' |
LABEL author=Tara Piccari maintainer=tarapiccari@gmail.com |
SHELL [/bin/bash -c] |
ENV HOME=/root |
ENV DOCKER=1 |
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 |
USER root |
WORKDIR / |
ENV DEBIAN_FRONTEND=noninteractive |
RUN /bin/bash -c echo "LC_ALL=en_US.UTF-8" >> /etc/environment # buildkit |
RUN /bin/bash -c echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen # buildkit |
RUN /bin/bash -c echo "LANG=en_US.UTF-8" >> /etc/locale.conf # buildkit |
RUN /bin/bash -c echo "check-certificate = off" >> ~/.wgetrc # buildkit |
ADD ./prep.sh /bin/prepare.sh # buildkit |
RUN /bin/bash -c chmod +x /bin/prepare.sh && /bin/prepare.sh # buildkit |
RUN /bin/bash -c apt update; apt-get upgrade -y # buildkit |
RUN /bin/bash -c apt-get install -y rsync zip unzip file git locales curl wget apt-utils # buildkit |
RUN /bin/bash -c locale-gen en_US.UTF-8 # buildkit |
LABEL PRODUCT=Time Tracker |
LABEL EXECUTABLE=timetrackd |
WORKDIR /app |
COPY /app/ttadmin /app/ttadmin # buildkit |
COPY /app/timetrackd /app/timetrackd # buildkit |
VOLUME [/app/data] |
ENTRYPOINT ["/app/timetrackd"] |