change upstream building source to local source with commiting patches
All checks were successful
Building zot from binaries with patch for login page / build-process (push) Successful in 20m27s
All checks were successful
Building zot from binaries with patch for login page / build-process (push) Successful in 20m27s
This commit is contained in:
parent
cf8f9b7fd3
commit
92dd59bda7
11
Dockerfile
11
Dockerfile
@ -1,6 +1,9 @@
|
||||
FROM registry.altlinux.org/alt/alt:sisyphus AS builder
|
||||
ARG ZOT_VER=v2.0.4
|
||||
ARG ZUI_VER=commit-09ab447
|
||||
ARG ZOT_ALT_BRANCH=zot-alt
|
||||
ARG ZUI_ALT_BRANCH=zui-alt
|
||||
ARG ZOT_ALT_REPO=https://gitea.basealt.ru/alt/zot-wo-auth.git
|
||||
|
||||
WORKDIR /workdir
|
||||
RUN apt-get update && apt-get install -y podman git \
|
||||
@ -8,15 +11,11 @@ RUN apt-get update && apt-get install -y podman git \
|
||||
rm -f /var/cache/apt/archives/*.rpm \
|
||||
/var/cache/apt/*.bin \
|
||||
/var/lib/apt/lists/*.*
|
||||
RUN git clone -q --branch $ZOT_VER https://github.com/project-zot/zot
|
||||
|
||||
RUN git clone -q --branch $ZOT_ALT_BRANCH $ZOT_ALT_REPO zot
|
||||
WORKDIR zot
|
||||
RUN git checkout $ZOT_VER
|
||||
RUN git clone -q --branch $ZUI_VER https://github.com/project-zot/zui
|
||||
RUN git clone -q --branch $ZUI_ALT_BRANCH $ZOT_ALT_REPO zui
|
||||
|
||||
WORKDIR zui
|
||||
COPY ./zui-auth.patch ./
|
||||
RUN git apply zui-auth.patch
|
||||
RUN npm install && npm run build
|
||||
|
||||
WORKDIR /workdir/zot
|
||||
|
Loading…
x
Reference in New Issue
Block a user