dev #2

Merged
pi-farm merged 82 commits from dev into main 2026-03-25 10:05:59 +00:00
Showing only changes of commit 71556eb778 - Show all commits

View File

@@ -1,27 +1,26 @@
# Example Dockerfile for arm64
ARG BASE_IMAGE=alpine:latest
ARG BUILD_BASE_IMAGE=alpine:latest
FROM ${BUILD_BASE_IMAGE}
FROM ${BASE_IMAGE}
ARG BUILD_TAG
ARG BUILD_MAINTAINER
ARG BUILD_TZ
ARG BUILD_APP_NAME
ARG BUILD_APP_USER
ARG ENV_TZ
ARG MAINTAINER
ARG TZ
ARG APP_NAME
ARG APP_USER
LABEL maintainer="${BUILD_MAINTAINER}"
LABEL org.opencontainers.image.title="${BUILD_APP_NAME}"
LABEL maintainer="${MAINTAINER}"
LABEL org.opencontainers.image.title="${APP_NAME}"
ENV TZ=${ENV_TZ}
ENV TZ=${TZ}
ENV USER=${APP_USER}
RUN apk add --no-cache tzdata ca-certificates
RUN apt update && \
apt install wget && \
wget https://github.com/oschonrock/hibp/releases/download/v${BUILD_TAG}/hibp_${BUILD_TAG}-1_amd64.deb -o hibp_${BUILD_TAG}_amd64.deb && \
apt install ./hibp_${BUILD_TAG}-1_amd64.deb && \
rm -f hibp_${BUILD_TAG}-1_amd64.deb
WORKDIR /app
COPY ./config /app/config
COPY ./data /app/data
RUN adduser -D ${APP_USER} && chown -R ${APP_USER}:${APP_USER} /app
USER ${BUILD_APP_USER}
USER ${APP_USER}
CMD ["sh"]
CMD ["bash"]