From c7342479f80199492902f38c3cf17bf472e5afc6 Mon Sep 17 00:00:00 2001 From: Dany LE Date: Sun, 24 Oct 2021 20:26:18 +0200 Subject: [PATCH] support antos 1.2.1 --- Dockerfile | 8 ++++---- start.sh | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index a48e4a3..b4335f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -55,17 +55,17 @@ RUN cd /download/antd-publishers-0.1.0a && ./configure --prefix=/opt/www && mak # download web apps RUN cd /download \ - && wget --no-check-certificate https://github.com/lxsang/antd-web-apps/raw/master/dist/antd_web_apps.tar.gz#nothing3 \ + && wget --no-check-certificate https://github.com/lxsang/antd-web-apps/raw/master/dist/antd_web_apps.tar.gz#nothing4 \ && mkdir -p y-antd-web-apps \ && tar xvzf antd_web_apps.tar.gz -C y-antd-web-apps \ && rm antd_web_apps.tar.gz RUN rm -rf /download/z-antos RUN cd /download \ - && wget --no-check-certificate https://github.com/lxsang/antos/raw/next-1.2.0/release/antos-1.2.0.tar.gz \ + && wget --no-check-certificate https://github.com/lxsang/antos/raw/1.2.1/release/antos-1.2.1.tar.gz#refresh2 \ && mkdir -p z-antos \ - && tar xvzf antos-1.2.0.tar.gz -C z-antos \ - && rm antos-1.2.0.tar.gz + && tar xvzf antos-1.2.1.tar.gz -C z-antos \ + && rm antos-1.2.1.tar.gz FROM busybox:stable-glibc #copy all necessary libraries diff --git a/start.sh b/start.sh index e74cdc2..d9e1616 100755 --- a/start.sh +++ b/start.sh @@ -6,6 +6,7 @@ fi mkdir -p /app/data/home mkdir -p /app/data/database mkdir -p /app/data/tmp +ln -sf /app/data/tmp /opt/www/tmp [ ! -e "/home/$ANTOS_USER" ] && ln -sf /app/data/home "/home/$ANTOS_USER" adduser --home "/home/$ANTOS_USER" --disabled-password --gecos "" "$ANTOS_USER" echo "$ANTOS_USER:$ANTOS_PASSWORD" | /bin/chpasswd