Skip to content

Commit

Permalink
add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Mon-ius committed Mar 7, 2024
1 parent 68000f0 commit 151b416
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM monius/docker-instant-ai:base

CMD ["cat", "/etc/nginx/nginx.conf"]
CMD ["cat", "/etc/store.debug"]
6 changes: 5 additions & 1 deletion dev/BASE
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ ENV VER="1.25.3"
ENV NGINX_SRC="https://nginx.org/download/nginx-${VER}.tar.gz"
ENV PKG="build-base linux-headers openssl-dev pcre-dev curl zlib-dev"

RUN du -sh / >> /etc/store.debug

RUN \
apk --no-cache add ${PKG} && \
curl -fsSL "${NGINX_SRC}" | tar -C /tmp -xz && \
Expand Down Expand Up @@ -52,4 +54,6 @@ RUN apk del ${PKG} && \
rm -rf /var/cache/apk/*

RUN addgroup -S ${XUSER} && \
adduser -D -S -h /var/cache/nginx -s /sbin/nologin -G ${XUSER} ${XUSER}
adduser -D -S -h /var/cache/nginx -s /sbin/nologin -G ${XUSER} ${XUSER}

RUN du -sh / >> /etc/store.debug

0 comments on commit 151b416

Please sign in to comment.