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 b7d46e8c7c - Show all commits

View File

@@ -1,16 +1,18 @@
ARG BUILD_BASE_IMAGE=alpine:latest
FROM ${BUILD_BASE_IMAGE}
ARG MAINTAINER
ARG TZ
ARG APP_NAME
ARG APP_USER
ARG BUILD_TAG
ARG BUILD_MAINTAINER
ARG BUILD_TZ
ARG BUILD_APP_NAME
ARG BUILD_APP_USER
ARG ENV_TZ
LABEL maintainer="${MAINTAINER}"
LABEL org.opencontainers.image.title="${APP_NAME}"
LABEL maintainer="${BUILD_MAINTAINER}"
LABEL org.opencontainers.image.title="${BUILD_APP_NAME}"
ENV TZ=${TZ}
ENV USER=${APP_USER}
ENV TZ=${ENV_TZ}
ENV USER=${BUILD_APP_USER}
RUN apt update && \
apt install wget && \
@@ -20,8 +22,8 @@ RUN apt update && \
WORKDIR /app
RUN adduser -D ${APP_USER} && chown -R ${APP_USER}:${APP_USER} /app
RUN adduser -D ${USER} && chown -R ${USER}:${USER} /app
USER ${APP_USER}
USER ${USER}
CMD ["bash"]