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
|
FROM registry.altlinux.org/alt/alt:sisyphus AS builder
|
||||||
ARG ZOT_VER=v2.0.4
|
ARG ZOT_VER=v2.0.4
|
||||||
ARG ZUI_VER=commit-09ab447
|
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
|
WORKDIR /workdir
|
||||||
RUN apt-get update && apt-get install -y podman git \
|
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 \
|
rm -f /var/cache/apt/archives/*.rpm \
|
||||||
/var/cache/apt/*.bin \
|
/var/cache/apt/*.bin \
|
||||||
/var/lib/apt/lists/*.*
|
/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
|
WORKDIR zot
|
||||||
RUN git checkout $ZOT_VER
|
RUN git clone -q --branch $ZUI_ALT_BRANCH $ZOT_ALT_REPO zui
|
||||||
RUN git clone -q --branch $ZUI_VER https://github.com/project-zot/zui
|
|
||||||
|
|
||||||
WORKDIR zui
|
WORKDIR zui
|
||||||
COPY ./zui-auth.patch ./
|
|
||||||
RUN git apply zui-auth.patch
|
|
||||||
RUN npm install && npm run build
|
RUN npm install && npm run build
|
||||||
|
|
||||||
WORKDIR /workdir/zot
|
WORKDIR /workdir/zot
|
||||||
|
Loading…
Reference in New Issue
Block a user