fix: refs #4409 Dockerfile install zongi
gitea/mycdc/pipeline/head There was a failure building this commit Details

This commit is contained in:
Juan Ferrer 2024-04-04 17:40:22 +02:00
parent 69ff89ab4a
commit fa905552f0
3 changed files with 8 additions and 14 deletions

View File

@ -17,12 +17,9 @@ RUN apt-get update \
WORKDIR /mycdc WORKDIR /mycdc
COPY package.json package-lock.json ./ COPY package.json package-lock.json ./
RUN npm install --only=prod RUN npm install --omit=dev \
&& git clone --depth 1 --branch fix-143 https://github.com/juan-ferrer-toribio/zongji.git \
ARG BUILD_ID=unknown && (cd zongji && npm install --omit=dev)
ARG VERSION
ENV VERSION $VERSION
RUN echo $VERSION
COPY config config COPY config config
COPY \ COPY \

View File

@ -13,16 +13,13 @@ RUN apt-get update \
&& apt-get install -y --no-install-recommends nodejs \ && apt-get install -y --no-install-recommends nodejs \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Consumer # Producer
WORKDIR /mycdc WORKDIR /mycdc
COPY package.json package-lock.json ./ COPY package.json package-lock.json ./
RUN npm install --only=prod RUN npm install --omit=dev \
&& git clone --depth 1 --branch fix-143 https://github.com/juan-ferrer-toribio/zongji.git \
ARG BUILD_ID=unknown && (cd zongji && npm install --omit=dev)
ARG VERSION
ENV VERSION $VERSION
RUN echo $VERSION
COPY config config COPY config config
COPY \ COPY \

View File

@ -1,6 +1,6 @@
{ {
"name": "mycdc", "name": "mycdc",
"version": "0.0.1", "version": "0.0.2",
"author": "Verdnatura Levante SL", "author": "Verdnatura Levante SL",
"description": "Asynchronous DB calculations reading the binary log", "description": "Asynchronous DB calculations reading the binary log",
"license": "GPL-3.0", "license": "GPL-3.0",