mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
No git in Dockerfile generation.
This commit is contained in:
@@ -150,7 +150,7 @@ COPY --from=builder --chown=20212:20212 ${VIRTUAL_ENV} ${VIRTUAL_ENV}
|
|||||||
RUN if [ -f .VERSION ]; then \
|
RUN if [ -f .VERSION ]; then \
|
||||||
cp .VERSION ${NETALERTX_APP}/.VERSION; \
|
cp .VERSION ${NETALERTX_APP}/.VERSION; \
|
||||||
else \
|
else \
|
||||||
echo "DEVELOPMENT $(cd /app && git rev-parse --short HEAD 2>/dev/null || echo '00000000')" > ${NETALERTX_APP}/.VERSION; \
|
echo "DEVELOPMENT 00000000" > ${NETALERTX_APP}/.VERSION; \
|
||||||
fi && \
|
fi && \
|
||||||
chown ${READ_ONLY_USER}:${READ_ONLY_GROUP} ${NETALERTX_APP}/.VERSION && \
|
chown ${READ_ONLY_USER}:${READ_ONLY_GROUP} ${NETALERTX_APP}/.VERSION && \
|
||||||
apk add libcap && \
|
apk add libcap && \
|
||||||
|
|||||||
Reference in New Issue
Block a user