mirror of
https://github.com/tulir/mautrix-whatsapp
synced 2024-05-19 12:23:48 +02:00
Print debug mode in Docker build
This allows the build cache to be invalidated when DBGWAIT is set
This commit is contained in:
parent
8194cd907a
commit
6022f88105
|
@ -27,6 +27,8 @@ COPY --from=builder /build/docker-run.sh /docker-run.sh
|
|||
COPY --from=builder /go/bin/dlv /usr/bin/dlv
|
||||
VOLUME /data
|
||||
|
||||
ARG DBG
|
||||
ARG DBGWAIT=0
|
||||
ENV DBGWAIT=${DBGWAIT}
|
||||
ENV DBG=${DBG} DBGWAIT=${DBGWAIT}
|
||||
RUN echo "Debug mode: DBG=${DBG} DBGWAIT=${DBGWAIT}"
|
||||
CMD ["/docker-run.sh"]
|
||||
|
|
Loading…
Reference in a new issue