From 68000f091dabec44ecfdd2add35756e5ff7291cf Mon Sep 17 00:00:00 2001 From: Monius Date: Thu, 7 Mar 2024 15:37:30 +0800 Subject: [PATCH] update --- README.md | 1 + dev/BASE | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d1b6b50..2030283 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ ```bash doas podman run --rm monius/docker-instant-ai +doas podman run --name ii -it monius/docker-instant-ai /bin/sh doas podman rm -f $(doas podman ps -a -q) doas podman rmi -f $(doas podman images -a -q) diff --git a/dev/BASE b/dev/BASE index 5bc63bb..fb9fde9 100644 --- a/dev/BASE +++ b/dev/BASE @@ -47,9 +47,9 @@ RUN \ --with-http_v2_module && \ make -j"$(nproc)" && make install -RUN addgroup -S ${XUSER} && \ - adduser -D -S -h /var/cache/nginx -s /sbin/nologin -G ${XUSER} ${XUSER} - RUN apk del ${PKG} && \ rm -rf /tmp/* && \ - rm -rf /var/cache/apk/* \ No newline at end of file + rm -rf /var/cache/apk/* + +RUN addgroup -S ${XUSER} && \ + adduser -D -S -h /var/cache/nginx -s /sbin/nologin -G ${XUSER} ${XUSER} \ No newline at end of file